{"id":29,"date":"2005-06-03T01:31:33","date_gmt":"2005-06-03T01:31:33","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=29"},"modified":"2015-08-04T23:51:51","modified_gmt":"2015-08-04T23:51:51","slug":"timing-the-execution","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2005\/06\/03\/timing-the-execution\/","title":{"rendered":"Timing the execution"},"content":{"rendered":"<p>You can now time the execution of processing flows in Scons using a TIMER option. Use it like this:<br \/>\n<b>scons TIMER=y<\/b> &lt;<i>target<\/i>&gt;<br \/>\nAn example from <a href=\"\/RSF\/book\/rsf\/rsf\/rsftour.html\">rsftour<\/a>:<br \/>\n<font color=#0055ff><div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><br \/>\nbash$ scons -Q TIMER=y windowed.rsf<br \/>\n\/usr\/bin\/time &lt; Txx.HH \/path\/to\/RSF\/bin\/sfwindow n2=10 n1=200 f1=200 &gt; windowed.rsf<br \/>\n0.00user 0.01system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k<br \/>\n0inputs+0outputs (170major+25minor)pagefaults 0swaps<br \/>\n<\/PRE><\/font><br \/>\nThanks to Jim Jennings for the idea.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can now time the execution of processing flows in Scons using a TIMER option. Use it like this: scons TIMER=y &lt;target&gt; An example from rsftour: bash$ scons -Q TIMER=y windowed.rsf \/usr\/bin\/time &lt; Txx.HH \/path\/to\/RSF\/bin\/sfwindow n2=10 n1=200 f1=200 &gt; windowed.rsf 0.00user 0.01system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (170major+25minor)pagefaults 0swaps Thanks to Jim Jennings for the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-examples"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":1,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":886,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions\/886"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}