From ec6611393912b25863652c925e90d1e4b5c986ba Mon Sep 17 00:00:00 2001 From: carns Date: Thu, 25 Jul 2013 17:50:07 +0000 Subject: [PATCH] read/write access size histograms git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/darshan-parser-file-list@750 3b7491f3-a168-0410-bf4b-c445ed680a29 --- darshan-util/darshan-parser.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/darshan-util/darshan-parser.c b/darshan-util/darshan-parser.c index e34cc92..8578700 100644 --- a/darshan-util/darshan-parser.c +++ b/darshan-util/darshan-parser.c @@ -781,8 +781,8 @@ void file_list(struct darshan_job *djob, hash_entry_t *file_hash, int detail_fla * - MPI indep opens * - MPI coll opens * - POSIX opens - * - r histogram (MPI or POSIX) - * - w histogram (MPI or POSIX) + * - r histogram (POSIX) + * - w histogram (POSIX) */ if(detail_flag) @@ -803,6 +803,8 @@ void file_list(struct darshan_job *djob, hash_entry_t *file_hash, int detail_fla printf("# : independent MPI_File_open calls\n"); printf("# : collective MPI_File_open calls\n"); printf("# : POSIX open calls\n"); + printf("# : POSIX read size histogram\n"); + printf("# : POSIX write size histogram\n"); } printf("\n# \t\t\t\t\t"); @@ -811,6 +813,8 @@ void file_list(struct darshan_job *djob, hash_entry_t *file_hash, int detail_fla printf("\t\t\t"); printf("\t\t\t"); printf("\t\t\t"); + for(i=CP_SIZE_READ_0_100; i<= CP_SIZE_WRITE_1G_PLUS; i++) + printf("\t%s", darshan_names[i]); } printf("\n"); @@ -835,6 +839,8 @@ void file_list(struct darshan_job *djob, hash_entry_t *file_hash, int detail_fla printf("\t%f", curr->fcounters[i]); } printf("\t%" PRId64 "\t%" PRId64 "\t%" PRId64, curr->counters[CP_INDEP_OPENS], curr->counters[CP_COLL_OPENS], curr->counters[CP_POSIX_OPENS]); + for(i=CP_SIZE_READ_0_100; i<= CP_SIZE_WRITE_1G_PLUS; i++) + printf("\t%" PRId64, curr->counters[i]); } printf("\n"); } -- 2.26.2