mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-24 12:34:53 +08:00
display the inner count (check)
This commit is contained in:
parent
bfa7bccea1
commit
75d01f02e2
@ -11,6 +11,9 @@
|
|||||||
|
|
||||||
void pretty_print(size_t volume, size_t bytes, std::string name,
|
void pretty_print(size_t volume, size_t bytes, std::string name,
|
||||||
counters::event_aggregate agg) {
|
counters::event_aggregate agg) {
|
||||||
|
if (agg.inner_count > 1) {
|
||||||
|
printf("# (inner count: %d)\n", agg.inner_count);
|
||||||
|
}
|
||||||
printf("%-40s : ", name.c_str());
|
printf("%-40s : ", name.c_str());
|
||||||
printf(" %5.2f GB/s ", bytes / agg.fastest_elapsed_ns());
|
printf(" %5.2f GB/s ", bytes / agg.fastest_elapsed_ns());
|
||||||
printf(" %5.1f Mip/s ", volume * 1000.0 / agg.fastest_elapsed_ns());
|
printf(" %5.1f Mip/s ", volume * 1000.0 / agg.fastest_elapsed_ns());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user