MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getUptime

Method getUptime

libminifi/src/FlowController.cpp:478–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478uint64_t FlowController::getUptime() {
479 auto now = std::chrono::steady_clock::now();
480 auto time_since = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time_).count();
481 return time_since;
482}
483
484std::vector<BackTrace> FlowController::getTraces() {
485 std::vector<BackTrace> traces{thread_pool_.getTraces()};

Callers 1

serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected