Month: June 2005

Timing the execution

June 3, 2005 Examples No comments

You can now time the execution of processing flows in Scons using a TIMER option. Use it like this:
scons TIMER=y <target>
An example from rsftour:


bash$ scons -Q TIMER=y windowed.rsf
/usr/bin/time < Txx.HH /path/to/RSF/bin/sfwindow n2=10 n1=200 f1=200 > 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 idea.

Not keeping processing history in headers

June 2, 2005 FAQ 1 comment

Why does not RSF store a complete file history in the header (as SEPlib does)?

Not keeping complete file histories in header files was a design decision. The reasoning is that processing histories belong in other places (namely, the SConstruct files), and one should not rely on the header information for figuring out how the file was processed. A technical detail is that, since history parameters are stored in a hash table, they are outputed in random order. Please let us know if you can think of compelling reasons for changing this behavior.

Update: the behavior has changed following the suggestion from James Rickett. File histories are now stored in RSF files.