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