• fisaila's avatar
    Added counters for MPI activity. Following steps worked: · 2c6c98e0
    fisaila authored
    1. Added the counters in darshan-log-format.h
    2. Added the names of the counters in darshan-util/darshan-logutils.c
    3. Added the new profiled function declarations (e.g., PMPI_Sent) in darshan-runtime/darshan-dynamic.h
     - DARSHAN_EXTERN_DECL(...)
    4. Added the new profiled function declarations (e.g., PMPI_Sent) in darshan-runtime/lib/darshan-mpi-init-finalize.c 
     - DARSHAN_FORWARD_DECL(...)
     - MAP_OR_FAIL(...)
    5. Updated the reducer in darshan-runtime/lib/darshan-mpi-io.c in the function: 
     static void darshan_file_reduce(void* infile_v, 
        void* inoutfile_v, int *len, 
        MPI_Datatype *datatype);
    
    
    
    
    git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/darshan-florin-extensions-addcounters@827 3b7491f3-a168-0410-bf4b-c445ed680a29
    2c6c98e0
counters.c 2.95 KB