[igt-dev] [PATCH i-g-t 1/8] trace.pl: Improve time axis labels

John Harrison John.C.Harrison at Intel.com
Fri Jul 27 22:22:19 UTC 2018


On 7/19/2018 2:39 AM, Tvrtko Ursulin wrote:
>
> On 18/07/2018 21:03, John Harrison wrote:
>>
>> One thing I've just noticed is that there is also a 'now' line on the 
>> timeline - a red vertical bar across the entire timeline. On the old 
>> 'date' versions, it was following the current system time and hence 
>> wandering forwards at one second per second. On this version, it is 
>> out of position and advancing at one millisecond per second. 
>> Presumably because you are scaling the axes by a factor of one 
>> thousand in order to gain the necessary precision in the plot. 
>> Something of a curiosity but certainly not a problem!
>
> A moving red line? I never saw that! In any browser?
>

You have to zoom out a long way to see it. The trace files are time 
stamped from system boot, so fairly low numbers of seconds. The 'now' 
line is referenced from 1/1/1970 or whenever (albeit in milliseconds 
rather than seconds now). So is massively far into the future compared 
to any of the log data.



More information about the igt-dev mailing list