2 Commits

Author SHA1 Message Date
Chris Wilson
95374225e8 Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08 12:17:31 +01:00
Chris Wilson
b4ddf71a4a Add: tools/intel_gpu_time
A simple variant on time crossed with intel_gpu_top to estimate the
amount of GPU activity during a program's execution time.

The resource usage (sys+user, i.e. CPU %) is for the child, but the
GPU measure is global. Hmm.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-08 06:48:02 +01:00