stats: disable coloring peak performance data

The peak value is probably not very well suited to draw many conclusions
from it.
This commit is contained in:
Julian 2016-07-29 02:47:34 +09:00 committed by wm4
parent 0242165b3c
commit 6c7385c539
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ local function append_perfdata(s)
local last_s = vo_p["render-last"] + vo_p["present-last"] + vo_p["upload-last"]
local avg_s = vo_p["render-avg"] + vo_p["present-avg"] + vo_p["upload-avg"]
local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
--local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
local peak_s = -math.huge
-- highlight i with a red border when t exceeds the time for one frame
-- or yellow when it exceeds a given threshold