MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / reset

Method reset

src/include/utils/profiler.hpp:43–47  ·  view source on GitHub ↗

\brief reset the profiler

Source from the content-addressed store, hash-verified

41
42 /// \brief reset the profiler
43 void reset(){
44 this->start_time = time_utils::now();
45 this->counter = 0;
46 this->total_time = {0, "us"};
47 }
48
49 /// \brief get the total time
50 /// \return the total time

Callers 5

~bytesMethod · 0.45
bytesClass · 0.45
resizeMethod · 0.45
freeMethod · 0.45
_setup_kernelMethod · 0.45

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected