cell: start some performance measurements
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 16 Oct 2008 02:46:43 +0000 (20:46 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 16 Oct 2008 02:56:55 +0000 (20:56 -0600)
commit0116ee1d1c341726b6ed23c2dddc4515e8a34385
tree33307d93cbb261ebd4b707b53380b371b66937c3
parent1c915b14a545ffb10cc1c98cc69f997b6471617f
cell: start some performance measurements

Use the spu_write_decrementer() and spu_read_decrementer() functions to
measure time.  Convert to milliseconds according to the system timebase value.
src/gallium/drivers/cell/common.h
src/gallium/drivers/cell/ppu/cell_spu.c
src/gallium/drivers/cell/spu/spu_command.c
src/gallium/drivers/cell/spu/spu_render.c