Exemplo n.º 1
0
        public ClientStatistics(IClientStatisticsRenderer renderer)
        {
            this.renderer = renderer;

            frameTime = new StatCounter();
            timeLag = new StatCounter();
            presentTime = new StatCounter();
            gpuUploadTime = new StatCounter();
            borderPassTime = new StatCounter();
            cpuDecodingTime = new StatCounter();
            timeBufferingQueue = new StatCounter();
            mainThreadBarrierQueue = new StatCounter();
            cpuProcessingQueue = new StatCounter();
        }
Exemplo n.º 2
0
 private static string FormatQueue(StatCounter statCounter)
 {
     return string.Format("{0:0}--{1:0}   ({2:0.#})", statCounter.Min, statCounter.Max, statCounter.Average);
 }