summaryrefslogtreecommitdiffstats
path: root/src/H5trace.c
diff options
context:
space:
mode:
authorNeil Fortner <fortnern@gmail.com>2023-04-28 23:58:25 (GMT)
committerGitHub <noreply@github.com>2023-04-28 23:58:25 (GMT)
commit3236fb79cedcbe8fed2f421db1ae15f630b5b90f (patch)
treeb4751d6d020d057f4a43f3c89186418cdd1ac0cf /src/H5trace.c
parent4497feb5756d76479fb36fef999692c0909f8340 (diff)
downloadhdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.zip
hdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.tar.gz
hdf5-3236fb79cedcbe8fed2f421db1ae15f630b5b90f.tar.bz2
Implement selection I/O with type conversion (#2823)
Initial implementation of selection I/O with type conversion. Allows Parallel collective I/O with type conversion, as long as selection I/O is enabled.
Diffstat (limited to 'src/H5trace.c')
-rw-r--r--src/H5trace.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/H5trace.c b/src/H5trace.c
index 3be5b91..48e94a6 100644
--- a/src/H5trace.c
+++ b/src/H5trace.c
@@ -673,6 +673,31 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap)
} /* end block */
break;
+ case 'C': /* H5D_selection_io_mode_t */
+ {
+ H5D_selection_io_mode_t selection_io_mode =
+ (H5D_selection_io_mode_t)HDva_arg(ap, int);
+
+ switch (selection_io_mode) {
+ case H5D_SELECTION_IO_MODE_DEFAULT:
+ H5RS_acat(rs, "H5D_SELECTION_IO_MODE_DEFAULT");
+ break;
+
+ case H5D_SELECTION_IO_MODE_OFF:
+ H5RS_acat(rs, "H5D_SELECTION_IO_MODE_OFF");
+ break;
+
+ case H5D_SELECTION_IO_MODE_ON:
+ H5RS_acat(rs, "H5D_SELECTION_IO_MODE_ON");
+ break;
+
+ default:
+ H5RS_asprintf_cat(rs, "%ld", (long)selection_io_mode);
+ break;
+ } /* end switch */
+ } /* end block */
+ break;
+
case 'f': /* H5D_fill_time_t */
{
H5D_fill_time_t fill_time = (H5D_fill_time_t)HDva_arg(ap, int);