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

Function duration_ns

src/include/utils/utils.hpp:40–42  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

38/// \param stop the stop time
39/// \return the duration in nanoseconds
40inline time_with_unit duration_ns(time_point start, time_point stop){
41 return std::make_pair(std::chrono::duration_cast<std::chrono::nanoseconds>(stop - start).count(), "ns");
42}
43
44/// \brief duration in microseconds
45/// \param start the start time

Callers 4

handle_generateMethod · 0.85
handle_chatMethod · 0.85
_shared_insertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected