Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
template<typename T>
39
T alignTimestamp(const T ×tamp, const T &alignment)
40
{
41
return timestamp + ((alignment - (timestamp % alignment)) % alignment);
42
}
43
44
void SoftwareVsyncMonitor::arm()
45
{
Callers
1
arm
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected