common_util
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cutl::timecount Class Reference

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.
 

Detailed Description

A simple time counter class to measure the execution time of a function.

Constructor & Destructor Documentation

◆ timecount()

cutl::timecount::timecount ( const std::string & func_name)

Construct a new timecount object The constructor will record the begin time of the function calling.

Parameters
func_name

The documentation for this class was generated from the following file: