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

Function duration_ms

src/include/utils/utils.hpp:56–58  ·  view source on GitHub ↗

\brief duration in milliseconds \param start the start time \param stop the stop time \return the duration in milliseconds

Source from the content-addressed store, hash-verified

54/// \param stop the stop time
55/// \return the duration in milliseconds
56inline time_with_unit duration_ms(time_point start, time_point stop){
57 return std::make_pair(std::chrono::duration_cast<std::chrono::milliseconds>(stop - start).count(), "ms");
58}
59
60/// \brief duration in seconds
61/// \param start the start time

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68