 
 
 
 
 
 
 
 
 
 
myComputation(...):... == {
    TIMESTART;                  -- has no effect on normal compilation
    ... part 1 of the computation ...
    TIME("myComputation: part one done at");
    ... part 2 of the computation ...
    TIME("myComputation: part two done at");
    ... part 3 of the computation ...
    TIME("myComputation: part three done at");
    ...                         -- do not forget to return the result here
}
When profiling sections of a multi-file library, simply recompile the
desired .as files with the -dTIME -fo -q3 options, then link
your executable with the local .o files, which takes precedence over
the ones in the library.
Finer profiling, including obtaining information on the garbage collection time, is possible via the use of the type Timer, whose elements are stopwatches that can be started and stopped at will. See the reference section for more information on the use of timers.
 
 
 
 
 
 
 
 
