We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019927a commit 861f5b5Copy full SHA for 861f5b5
ompi/mpi/c/wtime.c.in
@@ -40,12 +40,16 @@
40
41
#include "opal/util/clock_gettime.h"
42
43
+#if OMPI_BUILD_MPI_PROFILING
44
/**
45
* Use this as a base time set early during MPI initialization to improve the range
46
* and accuracy of the user visible timer.
47
* More info: https://github.com/mpi-forum/mpi-issues/issues/77#issuecomment-369663119
48
*/
49
+struct timespec ompi_wtime_time_origin = {.tv_sec = 0};
50
+#else
51
extern struct timespec ompi_wtime_time_origin;
52
+#endif
53
54
PROTOTYPE DOUBLE wtime()
55
{
0 commit comments