Re: [Intel-gfx] [PATCH 1/2] drm/i915: add rc6 residency times to debugfs

2012-04-10 Thread Daniel Vetter
On Tue, Mar 27, 2012 at 06:59:38PM -0700, Ben Widawsky wrote: > RC6 residency should be in intervals of 1.28us, and the counter wraps. > Here is an example using awk to get the various RC6 and RC6+ residency > times in seconds, since boot. > > cat /sys/kernel/debug/dri/0/i915_drpc_info | grep res

[Intel-gfx] [PATCH 1/2] drm/i915: add rc6 residency times to debugfs

2012-03-27 Thread Ben Widawsky
RC6 residency should be in intervals of 1.28us, and the counter wraps. Here is an example using awk to get the various RC6 and RC6+ residency times in seconds, since boot. cat /sys/kernel/debug/dri/0/i915_drpc_info | grep residency | awk -F':' -F' ' '{print $5 * 1.28 / 100}' This is primar