[igt-dev] [PATCH i-g-t 03/11] trace.pl: Scale timeline for better precision

John Harrison John.C.Harrison at Intel.com
Wed Jul 11 17:52:39 UTC 2018


On 7/9/2018 6:19 AM, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> vis library has a limited precision compared to our trace data which
> prevents zooming into the timeline and seeing the fine detail.
>
> Scale the HTML view by a thousand to work around it.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Suggested-by: John Harrison <John.C.Harrison at Intel.com>
> Cc: John Harrison <John.C.Harrison at Intel.com>
> ---

Maybe add a comment to the HTML page's description text when scaling is 
enabled to say that the timeline units are not entirely accurate? 
Although, I guess the date was never actually correct in the first 
place! Either way...

Reviewed-by: John Harrison <John.C.Harrison at Intel.com>



More information about the igt-dev mailing list