Commit 6d9286ac authored by Sudheer Chunduri's avatar Sudheer Chunduri
Browse files

resolving the address of the real call to PMPI_Barrier for dynamic linking

parent fe2e8ade
...@@ -31,6 +31,7 @@ typedef long long ap_bytes_t; ...@@ -31,6 +31,7 @@ typedef long long ap_bytes_t;
#define TIME_SYNC(FUNC) \ #define TIME_SYNC(FUNC) \
double tm1, tm2, tm3, tdiff, tsync;\ double tm1, tm2, tm3, tdiff, tsync;\
int ret; \ int ret; \
MAP_OR_FAIL(PMPI_Barrier);\
tm1 = darshan_core_wtime(); \ tm1 = darshan_core_wtime(); \
ret = __real_PMPI_Barrier(comm); \ ret = __real_PMPI_Barrier(comm); \
tm2 = darshan_core_wtime(); \ tm2 = darshan_core_wtime(); \
......
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