MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / GetLastEmptyTime

Method GetLastEmptyTime

lib/queue/action-queue.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127ActionQueue::TimePoint ActionQueue::GetLastEmptyTime()
128{
129 if (IsEmpty()) {
130 _lastEmpty = std::chrono::high_resolution_clock::now();
131 }
132 return _lastEmpty;
133}
134
135size_t ActionQueue::Size()
136{

Callers 1

getSecondsSinceLastEmptyFunction · 0.80

Calls 1

nowClass · 0.85

Tested by

no test coverage detected