MCPcopy Create free account
hub / github.com/Haivision/srt / clockSubsecondPrecision

Method clockSubsecondPrecision

srtcore/sync_cxx11.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int srt::sync::clockSubsecondPrecision()
43{
44 const int64_t ticks_per_sec = (srt::sync::steady_clock::period::den / srt::sync::steady_clock::period::num);
45 const int decimals = pow10<ticks_per_sec>();
46 return decimals;
47}
48
49////////////////////////////////////////////////////////////////////////////////
50//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected