|
common_util 1.1.0
|
A simple time counter class to measure the execution time of a function. More...
#include <timecount.h>
Public Member Functions | |
| timecount (const std::string &func_name) | |
| Construct a new timecount object The constructor will record the begin time of the function calling. | |
| ~timecount () | |
| Destroy the timecount object The desctructor will record the end time of the function calling and calculate the execution time. | |
A simple time counter class to measure the execution time of a function.
| cutl::timecount::timecount | ( | const std::string & | func_name | ) |
Construct a new timecount object The constructor will record the begin time of the function calling.
| func_name |