next up previous
Next: Aggregating on Compression Up: Changes to functions Previous: Initializing Global Time

Recording Time

Recording the time is done in the post wrapper-of the functon call, where all other operations for recording information about the call are carried out. The time recording is done by calling a function (which may be changed to a macro), which takes as argument the address of the replay_op being constructed. gettimeofday is called, and the microseconds since the start of the program (startTime) is computed and stored in the replay_op. Nothing else needs to be done for recording timing values.

The compress_node function is called in the post-wrapper right after timing information is recorded. This function creates a new rsd_node in which the numAggregated value is set to 1 to indicate that this rsd_node now represents one mpi call.


Blazing Demon 2006-11-30