MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / alignTimestamp

Function alignTimestamp

src/utils/softwarevsyncmonitor.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38template<typename T>
39T alignTimestamp(const T &timestamp, const T &alignment)
40{
41 return timestamp + ((alignment - (timestamp % alignment)) % alignment);
42}
43
44void SoftwareVsyncMonitor::arm()
45{

Callers 1

armMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected