Define track_time#
Defined in File timetracker.h
Define Documentation#
-
track_time(tag)#
Track function to trigger one time entry.
Use the “track_time” macro within a function to activate. The tag is a name used to identify the code position that should be tracked. For each track_time call, a time entry relative to the start of the application will be written (resolution is micro-seconds). The tracking file will be written on shutdown of the application and is called the same as the application with “_tracking.csv” attached to it. Example:
void MyFunc() { track_time(enter); // ... track_timer(leave); }
- Parameters:
tag – The tag name to use to identify this entry.