PROJECTIONS tracing modules dictate the type of performance data, data detail and data format each processor will record. They are also refered to as ``tracemodes''. There are currently 2 tracemodes available. Zero or more tracemodes may be specified at link-time. When no tracemodes are specified, no trace data is generated.
Link time option: -tracemode projections
This tracemode generates detailed event log files that contain information about all CHARM++ events like entry method calls and message packing during the execution of the program. The data will be used by PROJECTIONS in visualization and analysis.
This tracemode will generate a single symbol table file and ASCII log files for processors. The names of the log files will be NAME.#.log where NAME is the name of your executable and # is the processor #. The name of the symbol table file is NAME.sts where NAME is the name of your executable.
This is the main source of data expected by the performance visualizer. Certain tools like timeline will not work without the detailed data from this tracemode.
The following is a list of runtime options available under this tracemode:
Compile option: -tracemode summary
In this tracemode, execution time across all entry points for each processor is partitioned into a fixed number of equally sized time-interval bins. These bins are globally resized whenever they are all filled in order to accomodate longer execution times while keeping the amount of space used constant.
Additional data like the total number of calls made to each entry point is summarised within each processor.
This tracemode will generate a single symbol table file and ASCII summary files for processors. The names of the summary files will be NAME.#.sum where NAME is the name of your executable and # is the processor #. The name of the symbol table file is NAME.sum.sts where NAME is the name of your executable.
This tracemode can be used to control the amount of output generated in a run. It is typically used in scenarios where a quick look at the overall utilization graph of the application is desired to identify smaller regions of time for more detailed study. Attempting to generate the same graph using the detailed logs of the prior tracemode may be unnecessarily time consuming or impossible.
The following is a list of runtime options available under this tracemode:
November 23, 2009
Charm Homepage