diff --git a/src/rprof.h b/src/rprof.h index 8bb5e02..fd6d251 100644 --- a/src/rprof.h +++ b/src/rprof.h @@ -294,6 +294,7 @@ int rprof_cmp_by_inclusive_duration(const rprof_slot **A, const rprof_slot **B) if (slot->bytes_processed > 0) { float time_spent = (float)slot->inclusive_duration / cpu_hz; float megabytes = (float)slot->bytes_processed / (1024 * 1024); + printf(" %.3fmb", megabytes); if (megabytes > 10) { printf(" at %.3fgb/s", (megabytes / 1024) / time_spent); } else {