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

Function getSecondsSinceLastEmpty

lib/queue/action-queue-tab.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static double getSecondsSinceLastEmpty(ActionQueue *queue)
63{
64 const auto time = std::chrono::high_resolution_clock::now() -
65 queue->GetLastEmptyTime();
66 return std::chrono::duration_cast<std::chrono::seconds>(time).count();
67}
68
69static QStringList getCellLabels(ActionQueue *queue, bool addName = true)
70{

Callers 1

getCellLabelsFunction · 0.85

Calls 3

nowClass · 0.85
GetLastEmptyTimeMethod · 0.80
countMethod · 0.80

Tested by

no test coverage detected