[Darshan-commits] [Git][darshan/darshan][autoperf-mod-update] Add python support for APMPI module

Kevin Harms xgitlab at cels.anl.gov
Wed Jan 13 22:57:54 CST 2021



Kevin Harms pushed to branch autoperf-mod-update at darshan / darshan


Commits:
02322dc6 by Kevin Harms at 2021-01-14T04:57:50+00:00
Add python support for APMPI module

- - - - -


2 changed files:

- darshan-util/pydarshan/darshan/api_def_c.py
- darshan-util/pydarshan/darshan/report.py


Changes:

=====================================
darshan-util/pydarshan/darshan/api_def_c.py
=====================================
@@ -118,7 +118,12 @@ typedef struct segment_info {
     double end_time;
 } segment_info;
 
-
+struct darshan_apmpi_perf_record
+{
+    struct darshan_base_record base_rec;
+    uint64_t counters[24];
+    double fcounters[3];
+};
 
 
 /* counter names */
@@ -137,6 +142,8 @@ extern char *posix_counter_names[];
 extern char *posix_f_counter_names[];
 extern char *stdio_counter_names[];
 extern char *stdio_f_counter_names[];
+extern char *apmpi_counter_names[];
+extern char *apmpi_f_counter_names[];
 
 /* Supported Functions */
 void* darshan_log_open(char *);


=====================================
darshan-util/pydarshan/darshan/report.py
=====================================
@@ -45,6 +45,7 @@ structdefs = {
     "PNETCDF": "struct darshan_pnetcdf_file **",
     "POSIX": "struct darshan_posix_file **",
     "STDIO": "struct darshan_stdio_file **",
+    "APMPI": "struct darshan_apmpi_perf_record **",
 }
 
 



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/02322dc60d705d5531e8f2431e0d84dbf007a588

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/commit/02322dc60d705d5531e8f2431e0d84dbf007a588
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210113/dfd1578d/attachment-0001.html>


More information about the Darshan-commits mailing list