MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / ~Timer

Method ~Timer

include/util/time.h:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 ~Timer() {
47 time_point end = clock::now();
48 LOG_IF(INFO, ++occurrence[prompt] == 1) << prompt << ": " << (end - start).count() / 1.0e6 << " ms";
49 occurrence[prompt] %= log_frequency;
50 }
51};
52
53std::unordered_map<std::string, int> Timer::occurrence;

Callers

nothing calls this directly

Calls 1

countMethod · 0.80

Tested by

no test coverage detected