Cppcheck
|
#include <timer.h>
Public Member Functions | |
Timer (std::string str, SHOWTIME_MODES showtimeMode, TimerResultsIntf *timerResults=nullptr) | |
Timer (bool fileTotal, std::string filename) | |
~Timer () | |
Timer (const Timer &)=delete | |
Timer & | operator= (const Timer &)=delete |
void | stop () |
Private Attributes | |
const std::string | mStr |
TimerResultsIntf * | mTimerResults {} |
std::clock_t | mStart = std::clock() |
const SHOWTIME_MODES | mShowTimeMode = SHOWTIME_MODES::SHOWTIME_FILE_TOTAL |
bool | mStopped {} |
Timer::Timer | ( | std::string | str, |
SHOWTIME_MODES | showtimeMode, | ||
TimerResultsIntf * | timerResults = nullptr |
||
) |
Definition at line 105 of file timer.cpp.
References SHOWTIME_FILE_TOTAL, and SHOWTIME_NONE.
|
delete |
void Timer::stop | ( | ) |
Definition at line 123 of file timer.cpp.
References TimerResultsIntf::addResults(), mShowTimeMode, mStart, mStopped, mStr, mTimerResults, SHOWTIME_FILE, SHOWTIME_FILE_TOTAL, and SHOWTIME_NONE.
Referenced by CppCheck::checkFile(), and ~Timer().
|
private |
|
private |
|
private |