[Darshan-commits] [Git][darshan/darshan][dev-dynamic-dxt-trigger] add missing dxt header

Shane Snyder xgitlab at cels.anl.gov
Tue Aug 13 12:54:22 CDT 2019



Shane Snyder pushed to branch dev-dynamic-dxt-trigger at darshan / darshan


Commits:
d710db8e by Shane Snyder at 2019-08-13T17:54:09Z
add missing dxt header

- - - - -


1 changed file:

- + darshan-runtime/darshan-dxt.h


Changes:

=====================================
darshan-runtime/darshan-dxt.h
=====================================
@@ -0,0 +1,56 @@
+/*
+ * Copyright (C) 2019 University of Chicago.
+ * See COPYRIGHT notice in top-level directory.
+ *
+ */
+
+#ifndef __DARSHAN_DXT_H
+#define __DARSHAN_DXT_H
+
+/* dxt_load_trigger_conf()
+ *
+ * DXT function exposed to Darshan core to read in any trace triggers
+ * from the file path in 'trigger_conf_path' before module
+ * initialization occurs.
+ */
+void dxt_load_trigger_conf(
+    char *trigger_conf_path);
+
+/* dxt_posix_runtime_initialize()
+ *
+ * DXT function exposed to POSIX module for initializing DXT-POSIX runtime.
+ */
+void dxt_posix_runtime_initialize(void);
+
+/* dxt_mpiio_runtime_initialize()
+ *
+ * DXT function exposed to MPIIO module for initializing DXT-MPIIO runtime.
+ */
+void dxt_mpiio_runtime_initialize(void);
+
+/* dxt_posix_write(), dxt_posix_read()
+ *
+ * DXT function to trace a POSIX write/read call to file record 'rec_id',
+ * at offset 'offset' and with 'length' size. 'start_time' and 'end_time'
+ * are starting and ending timestamps for the operation, respectively.
+ */
+void dxt_posix_write(darshan_record_id rec_id, int64_t offset,
+        int64_t length, double start_time, double end_time);
+void dxt_posix_read(darshan_record_id rec_id, int64_t offset,
+        int64_t length, double start_time, double end_time);
+
+/* dxt_mpiio_write(), dxt_mpiio_read()
+ *
+ * DXT function to trace a MPIIO write/read call to file record 'rec_id',
+ * with 'length' size. 'start_time' and 'end_time' are starting and ending
+ * timestamps for the operation, respectively.
+ */
+void dxt_mpiio_write(darshan_record_id rec_id, int64_t length,
+        double start_time, double end_time);
+void dxt_mpiio_read(darshan_record_id rec_id, int64_t length,
+        double start_time, double end_time);
+
+void dxt_posix_filter_dynamic_traces(
+    struct darshan_posix_file *(*rec_id_to_psx_file)(darshan_record_id));
+
+#endif /* __DARSHAN_DXT_H */



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d710db8e634cfde4284a65b9c6d1c008b78e79e9

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d710db8e634cfde4284a65b9c6d1c008b78e79e9
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/20190813/b26b0761/attachment-0001.html>


More information about the Darshan-commits mailing list