Profile Timer.
More...
Profile Timer.
Definition at line 178 of file ProfileEvent.h.
◆ ProfileTimer()
souffle::ProfileEventSingleton::ProfileTimer::ProfileTimer |
( |
uint32_t |
interval = 10 | ) |
|
|
inline |
◆ getInterval()
uint32_t souffle::ProfileEventSingleton::ProfileTimer::getInterval |
( |
| ) |
|
|
inlineprivate |
◆ increaseInterval()
void souffle::ProfileEventSingleton::ProfileTimer::increaseInterval |
( |
| ) |
|
|
inlineprivate |
◆ resetTimerInterval()
void souffle::ProfileEventSingleton::ProfileTimer::resetTimerInterval |
( |
uint32_t |
interval = 10 | ) |
|
|
inline |
Reset timer interval.
The timer interval increases as the program executes. Resetting the interval is useful to ensure that detailed usage information is gathered even in long running programs, if desired.
- Parameters
-
interval | the size of the timing interval in milliseconds |
Definition at line 254 of file ProfileEvent.h.
◆ run()
void souffle::ProfileEventSingleton::ProfileTimer::run |
( |
| ) |
|
|
inlineprivate |
◆ start()
void souffle::ProfileEventSingleton::ProfileTimer::start |
( |
| ) |
|
|
inline |
◆ stop()
void souffle::ProfileEventSingleton::ProfileTimer::stop |
( |
| ) |
|
|
inline |
◆ conditionVariable
std::condition_variable souffle::ProfileEventSingleton::ProfileTimer::conditionVariable |
|
private |
◆ runCount
std::atomic<uint32_t> souffle::ProfileEventSingleton::ProfileTimer::runCount {0} |
|
private |
◆ running
std::atomic<bool> souffle::ProfileEventSingleton::ProfileTimer::running {false} |
|
private |
uint32_t souffle::ProfileEventSingleton::ProfileTimer::t |
|
private |
◆ th
std::thread souffle::ProfileEventSingleton::ProfileTimer::th |
|
private |
◆ timerMutex
std::mutex souffle::ProfileEventSingleton::ProfileTimer::timerMutex |
|
private |
The documentation for this class was generated from the following file: