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