1
1
openmpi/ompi/tools/mpisync/mpigclock.h
Ralph Castain dfb952fa78 [Contribution from Artem - moved it to svn from git for him]
Replace our old, clunky timing setup with a much nicer one that is only available if configured with --enable-timing. Add a tool for profiling clock differences between the nodes so you can get more precise timing measurements. I'll ask Artem to update the Github wiki with full instructions on how to use this setup.

This commit was SVN r32738.
2014-09-15 18:00:46 +00:00

14 строки
331 B
C

#ifndef MPIGCLOCK_H
#define MPIGCLOCK_H
#include <stdio.h>
#include "hpctimer.h"
#define INVALIDTIME -1.0
#define MPIGCLOCK_RTTMIN_NOTCHANGED_MAX 100
#define MPIGCLOCK_MSGTAG 128
/* mpigclock_measure_offset_adaptive: Measures clock's offset of peer. */
double mpigclock_sync_linear(MPI_Comm comm, int root, double *rtt);
#endif