summary: clean up table's unicode BDC

This commit is contained in:
nick black 2020-01-05 01:45:22 -05:00 committed by Nick Black
parent 6cb945f3d5
commit 7016e7f5da

View File

@ -407,13 +407,13 @@ int main(int argc, char** argv){
} }
bool failed = false; bool failed = false;
printf("\n"); printf("\n");
printf(" │ │ total│frames│output(B)│ rendering│r%%│%6s│\n", "FPS"); printf(" total│frames│output(B)│ rendering│r%%│%6s│\n", "FPS");
printf("══╪═╪═══════╪══════╪═════════╪══════════╪══╪══════╡\n"); printf("══╤═╤═══════╪══════╪═════════╪══════════╪══╪══════╡\n");
for(size_t i = 0 ; i < strlen(demos) ; ++i){ for(size_t i = 0 ; i < strlen(demos) ; ++i){
char totalbuf[BPREFIXSTRLEN + 1]; char totalbuf[BPREFIXSTRLEN + 1];
bprefix(results[i].stats.render_bytes, 1, totalbuf, 0); bprefix(results[i].stats.render_bytes, 1, totalbuf, 0);
double avg = results[i].stats.render_ns / (double)results[i].stats.renders; double avg = results[i].stats.render_ns / (double)results[i].stats.renders;
printf("%2zu│%c│%2lu.%03lus│%6lu│%*s│%8juµs│%2ld|%6.1f│%s\n", i, printf("%2zu│%c│%2lu.%03lus│%6lu│%*s│%8juµs│%2ld%6.1f│%s\n", i,
results[i].selector, results[i].selector,
results[i].timens / GIG, results[i].timens / GIG,
(results[i].timens % GIG) / 1000000, (results[i].timens % GIG) / 1000000,