Commit 6e36c312 authored by Philip Carns's avatar Philip Carns

fixes #124, overhauls the output shown with darshan-parser --perf


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@856 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 1cabcbf9
...@@ -24,6 +24,7 @@ darshan-2.2.9-pre1 ...@@ -24,6 +24,7 @@ darshan-2.2.9-pre1
investigated by Davide Del Vento. investigated by Davide Del Vento.
- Ability to disable shared-file reduction by setting the - Ability to disable shared-file reduction by setting the
DARSHAN_DISABLE_SHARED_REDUCTION environment variable. DARSHAN_DISABLE_SHARED_REDUCTION environment variable.
- More thorough output from darshan-parser --perf, suggested by Huong Luu.
darshan-2.2.8 darshan-2.2.8
============= =============
......
...@@ -472,12 +472,24 @@ int main(int argc, char **argv) ...@@ -472,12 +472,24 @@ int main(int argc, char **argv)
printf("\n# performance\n"); printf("\n# performance\n");
printf("# -----------\n"); printf("# -----------\n");
printf("# total_bytes: %" PRId64 "\n", pdata.total_bytes); printf("# total_bytes: %" PRId64 "\n", pdata.total_bytes);
printf("# slowest_rank_time: %lf\n", pdata.slowest_rank_time); printf("#\n");
printf("# slowest_rank_meta_time: %lf\n", pdata.slowest_rank_meta_time); printf("# I/O timing for unique files (seconds):\n");
printf("# shared_time_by_cumul: %lf\n", pdata.shared_time_by_cumul); printf("# ...........................\n");
printf("# shared_time_by_open: %lf\n", pdata.shared_time_by_open); printf("# unique files: slowest_rank_time: %lf\n", pdata.slowest_rank_time);
printf("# shared_time_by_open_lastio: %lf\n", pdata.shared_time_by_open_lastio); printf("# unique files: slowest_rank_meta_time: %lf\n", pdata.slowest_rank_meta_time);
printf("# shared_meta_time: %lf\n", pdata.shared_meta_time); printf("#\n");
printf("# I/O timing for shared files (seconds):\n");
printf("# (multiple estimates shown; time_by_slowest is generally the most accurate)\n");
printf("# ...........................\n");
printf("# shared files: time_by_cumul_io_only: %lf\n", pdata.shared_time_by_cumul);
printf("# shared files: time_by_cumul_meta_only: %lf\n", pdata.shared_meta_time);
printf("# shared files: time_by_open: %lf\n", pdata.shared_time_by_open);
printf("# shared files: time_by_open_lastio: %lf\n", pdata.shared_time_by_open_lastio);
printf("# shared files: time_by_slowest: %lf\n", pdata.shared_time_by_slowest);
printf("#\n");
printf("# Aggregate performance, including both shared and unique files (MiB/s):\n");
printf("# (multiple estimates shown; agg_perf_by_slowest is generally the most accurate)\n");
printf("# ...........................\n");
printf("# agg_perf_by_cumul: %lf\n", pdata.agg_perf_by_cumul); printf("# agg_perf_by_cumul: %lf\n", pdata.agg_perf_by_cumul);
printf("# agg_perf_by_open: %lf\n", pdata.agg_perf_by_open); printf("# agg_perf_by_open: %lf\n", pdata.agg_perf_by_open);
printf("# agg_perf_by_open_lastio: %lf\n", pdata.agg_perf_by_open_lastio); printf("# agg_perf_by_open_lastio: %lf\n", pdata.agg_perf_by_open_lastio);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment