MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / get_stats

Method get_stats

Processor/ThreadQueue.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93ThreadStats ThreadQueue::get_stats()
94{
95 lock.lock();
96 auto res = thread_stats;
97 lock.unlock();
98 return res;
99}
100
101void ThreadQueue::start_timer()
102{

Callers 1

total_statsMethod · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected