CPoorMansTimingAndProfiling
1.3.6
Instrument C apps simply to profile selected code paths.
|
Data Structures | |
class | StopWatch |
Macros | |
#define | CREATE_STOP_WATCH(name) (new StopWatch(name, __FILE__, __LINE__)) |
#define | DECLARE_STOP_WATCH(variable, name) StopWatch variable(name, __FILE__, __LINE__) |
A macro to create a simple stop watch . Use this macro instead of explicitly calling the StopWatch constructor.
A unique name should be used. If it is NULL or "" then a name is synthesized using the source file name and the line number where the macro is invoked.
name | of the stop watch - copied for internal use. |
#define DECLARE_STOP_WATCH | ( | variable, | |
name | |||
) | StopWatch variable(name, __FILE__, __LINE__) |
A macro to create a simple stop watch . Use this macro instead of explicitly calling the StopWatch constructor.
A unique name should be used. If it is NULL or "" then a name is synthesized using the source file name and the line number where the macro is invoked.
variable | is the variable that gets the instance of the stop watch |
name | of the stop watch - copied for internal use. |