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

Method get_average_speed

src/include/utils/profiler.hpp:65–68  ·  view source on GitHub ↗

\brief get the average speed \return the average speed

Source from the content-addressed store, hash-verified

63 /// \brief get the average speed
64 /// \return the average speed
65 float get_average_speed(){
66 time_utils::time_with_unit time_in_second = time_utils::cast_to_s(this->total_time);
67 return this->counter / time_in_second.first;
68 }
69
70 /// \brief get the counter
71 /// \return the counter

Callers 2

show_profileMethod · 0.80
verboseMethod · 0.80

Calls 1

cast_to_sFunction · 0.85

Tested by

no test coverage detected