diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2011-01-10 01:05:42 -0800 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2011-01-10 01:05:42 -0800 |
commit | cb3f766f41f71dd3e6c07a2fab0ffc1e2dea70aa (patch) | |
tree | c95c7e75a79b50abcda21da71e52d80c43e0c5fe | |
parent | be6fd3e5caffe765589dacfb55c966886c54d26f (diff) |
Add the per vertex submission time information
-rw-r--r-- | epilogue.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -186,8 +186,8 @@ static void exit_func() } free(findex); printf("=============================================================\n"); - printf("Array format \t\tusage \t total\n"); - printf("V N C I EF FG C2 ? T0 T1 T2 T3 T4 T5 T6 T7 \t\tpercent\t #vertex\n"); + printf("Array format us per\tusage \t total\n"); + printf("V N C I EF FG C2 ? T0 T1 T2 T3 T4 T5 T6 T7 vertex\tpercent\t #vertex\n"); uint64_t total_uses = 0; vertex_array_format* f = format_list; @@ -214,7 +214,7 @@ static void exit_func() else printf(" "); } - printf("\t\t%7.3f\t %d\n",f->uses*100.0/total_uses,f->uses); + printf("%10.5f\t%7.3f\t %d\n",f->total_time/(float)f->uses, f->uses*100.0/total_uses, f->uses); f = f->next; } |