Classes | |
| class | ProfileHackPack::ProfileTiming |
| Helper class that takes care of timing. More... | |
Functions | |
| void | ProfileHackPack::set_time (const char func_name[], double time_secs) |
| Set the name and time for a function or other section of code. | |
| void | ProfileHackPack::print_timings (std::ostream &out) |
| Print out the timing generated by calls to set_time(). | |
| void ProfileHackPack::set_time | ( | const char | func_name[], | |
| double | time_secs | |||
| ) |
Set the name and time for a function or other section of code.
This function can be called multiple times with the same func_name in which case the number of function calls and total time for func_name will be accumulated.
Definition at line 71 of file ProfileHackPack_profile_hack.cpp.
| void ProfileHackPack::print_timings | ( | std::ostream & | out | ) |
Print out the timing generated by calls to set_time().
Definition at line 78 of file ProfileHackPack_profile_hack.cpp.
1.4.7