1 write to _perfCounterFreq
PresentationCore (1)
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
58
SafeNativeMethods.QueryPerformanceFrequency(out
_perfCounterFreq
);
7 references to _perfCounterFreq
PresentationCore (7)
Core\CSharp\System\Windows\Media\MediaContext.cs (7)
69
EventTrace.EasyTraceEvent(EventTrace.Keyword.KeywordGraphics, EventTrace.Event.WClientQPCFrequency,
_perfCounterFreq
, qpcCurrentTime);
80
return
_perfCounterFreq
!= 0;
94
return (long)(TimeSpan.TicksPerSecond * (counts /
_perfCounterFreq
) + (TimeSpan.TicksPerSecond * (counts %
_perfCounterFreq
)) /
_perfCounterFreq
);
105
return (long)(
_perfCounterFreq
* (ticks / TimeSpan.TicksPerSecond) + (
_perfCounterFreq
* (ticks % TimeSpan.TicksPerSecond)) / TimeSpan.TicksPerSecond);