MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Stop

Method Stop

src/core/tasktimer.h:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void Stop()
84 {
85 ASSERT(IsRunning());
86 time_t dummy;
87 mTotalTime += (time(&dummy) - mStartTime);
88 mStartTime = 0;
89 }
90
91 bool IsRunning()
92 {

Callers 4

WriteDatabaseMethod · 0.80
ReadDatabaseMethod · 0.80
ExecuteMethod · 0.80
TestTaskTimerFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTaskTimerFunction · 0.64