MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / MilliSecondsDeltaToTimestamp

Method MilliSecondsDeltaToTimestamp

PresentData/PresentMonTraceSession.cpp:656–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656uint64_t PMTraceSession::MilliSecondsDeltaToTimestamp(double millisecondsDelta) const
657{
658 return (uint64_t) (0.001 * millisecondsDelta * mTimestampFrequency.QuadPart);
659}
660
661double PMTraceSession::TimestampToMilliSeconds(uint64_t timestamp) const
662{

Callers 1

PruneOldSwapChainDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected