summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_perf.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-08 13:09:18 -0700
committerBrian Paul <brianp@vmware.com>2010-02-08 16:57:23 -0700
commit4aeacdf8530d69d543cb2b997c1e65edb71ae01a (patch)
treed6907cb8e8675fa3e3102292cd9d9d8939a6e429 /src/gallium/drivers/llvmpipe/lp_perf.c
parenta8270c7c29b141025f606c811812304a72e42d2e (diff)
llvmpipe: added counters for color tile clear, load, store
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_perf.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_perf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_perf.c b/src/gallium/drivers/llvmpipe/lp_perf.c
index 042218b27f..a316597675 100644
--- a/src/gallium/drivers/llvmpipe/lp_perf.c
+++ b/src/gallium/drivers/llvmpipe/lp_perf.c
@@ -83,8 +83,13 @@ lp_print_counters(void)
debug_printf("llvmpipe: nr_empty_4x4: %9u (%2.0f%% of %u)\n", lp_count.nr_empty_4, p1, total_4);
debug_printf("llvmpipe: nr_non_empty_4x4: %9u (%2.0f%% of %u)\n", lp_count.nr_non_empty_4, p2, total_4);
+ debug_printf("llvmpipe: nr_color_tile_clear: %9u\n", lp_count.nr_color_tile_clear);
+ debug_printf("llvmpipe: nr_color_tile_load: %9u\n", lp_count.nr_color_tile_load);
+ debug_printf("llvmpipe: nr_color_tile_store: %9u\n", lp_count.nr_color_tile_store);
+
debug_printf("llvmpipe: nr_llvm_compiles: %u\n", lp_count.nr_llvm_compiles);
debug_printf("llvmpipe: total LLVM compile time: %.2f sec\n", lp_count.llvm_compile_time / 1000000.0);
debug_printf("llvmpipe: average LLVM compile time: %.2f sec\n", lp_count.llvm_compile_time / 1000000.0 / lp_count.nr_llvm_compiles);
+
}
}