1 write to _perfCounterFreq
PresentationCore (1)
System\Windows\Media\MediaContext.cs (1)
34
SafeNativeMethods.QueryPerformanceFrequency(out
_perfCounterFreq
);
7 references to _perfCounterFreq
PresentationCore (7)
System\Windows\Media\MediaContext.cs (7)
45
EventTrace.EasyTraceEvent(EventTrace.Keyword.KeywordGraphics, EventTrace.Event.WClientQPCFrequency,
_perfCounterFreq
, qpcCurrentTime);
56
return
_perfCounterFreq
!= 0;
70
return (long)(TimeSpan.TicksPerSecond * (counts /
_perfCounterFreq
) + (TimeSpan.TicksPerSecond * (counts %
_perfCounterFreq
)) /
_perfCounterFreq
);
81
return (long)(
_perfCounterFreq
* (ticks / TimeSpan.TicksPerSecond) + (
_perfCounterFreq
* (ticks % TimeSpan.TicksPerSecond)) / TimeSpan.TicksPerSecond);