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

Function duration_us

src/include/utils/utils.hpp:48–50  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

46/// \param stop the stop time
47/// \return the duration in microseconds
48inline time_with_unit duration_us(time_point start, time_point stop){
49 return std::make_pair(std::chrono::duration_cast<std::chrono::microseconds>(stop - start).count(), "us");
50}
51
52/// \brief duration in milliseconds
53/// \param start the start time

Callers 1

stopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected