MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / DelayedByArgMS

Method DelayedByArgMS

src/utils/Utils.cpp:232–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232bool Utils::StopWatch::DelayedByArgMS(int delay)
233{
234 if (Utils::currentTimestamp() - m_delayTimeStamp > delay)
235 {
236 m_delayTimeStamp = Utils::currentTimestamp();
237 return true;
238 }
239 else
240 return false;
241}
242
243bool Utils::mkdir(const std::string& dir)
244{

Callers

nothing calls this directly

Calls 1

currentTimestampFunction · 0.85

Tested by

no test coverage detected