MCPcopy Create free account
hub / github.com/AshampooSystems/boden / duration_to_string

Function duration_to_string

framework/foundation/src/String.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 template <> std::string duration_to_string(std::chrono::nanoseconds duration)
64 {
65 return std::to_string(duration.count()) + "ns";
66 }
67 template <> std::string duration_to_string(std::chrono::microseconds duration)
68 {
69 return std::to_string(duration.count()) + "\xC2\xB5s";

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68