summaryrefslogtreecommitdiff
path: root/linux-core/nv50_graph.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-20 14:19:38 -0700
committerEric Anholt <eric@anholt.net>2009-10-20 14:24:44 -0700
commit0d7ad7e43ca212b1e9f16cd18f36493cab455e61 (patch)
tree603f238f56e1dde61d6fc4e555887393d4a79dc5 /linux-core/nv50_graph.c
parent66d2714f5435944a26685be4210e0e0d7138f3db (diff)
intel: Only call clock_gettime once per unreference_final.
Notably when freeing a batchbuffer, we often end up freeing many of the buffers it points at as well. Avoiding repeated calls brings us a 9% CPU win for cairo-gl. [ # ] backend test min(s) median(s) stddev. count before: [ 0] gl firefox-talos-gfx 58.941 58.966 0.75% 3/3 after: [ 0] gl firefox-talos-gfx 54.186 54.195 0.49% 3/3
Diffstat (limited to 'linux-core/nv50_graph.c')
0 files changed, 0 insertions, 0 deletions