Commit bf6dc626 authored by Shane Snyder's avatar Shane Snyder

Add support for UIUC replay workload

Add code sent to me from Babak @ UIUC for generating events from
their I/O trace recorder.
parent 081c74bf
......@@ -43,3 +43,8 @@ tests_workload_codes_workload_test_LDFLAGS += ${DARSHAN_LDFLAGS}
tests_workload_codes_workload_mpi_replay_LDADD += ${DARSHAN_LIBS}
tests_workload_codes_workload_mpi_replay_LDFLAGS += ${DARSHAN_LDFLAGS}
endif
if USE_RECORDER
AM_CPPFLAGS += ${RECORDER_CPPFLAGS}
src_libcodes_base_a_SOURCES += src/workload/codes-recorder-io-wrkld.c
endif
......@@ -107,6 +107,11 @@ else
AM_CONDITIONAL(USE_DARSHAN, false)
fi
# check for Recorder
AM_CONDITIONAL(USE_RECORDER, true)
RECORDER_CPPFLAGS="-DUSE_RECORDER=1"
AC_SUBST(RECORDER_CPPFLAGS)
dnl ======================================================================
dnl Try harder to be valgrind safe
dnl ======================================================================
......
This diff is collapsed.
......@@ -18,6 +18,9 @@ extern struct codes_workload_method bgp_io_workload_method;
#ifdef USE_DARSHAN
extern struct codes_workload_method darshan_io_workload_method;
#endif
#ifdef USE_RECORDER
extern struct codes_workload_method recorder_io_workload_method;
#endif
static struct codes_workload_method *method_array[] =
{
......@@ -25,6 +28,9 @@ static struct codes_workload_method *method_array[] =
&bgp_io_workload_method,
#ifdef USE_DARSHAN
&darshan_io_workload_method,
#endif
#ifdef USE_RECORDER
&recorder_io_workload_method,
#endif
NULL};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment