Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Sync_Time_MPI.c File Reference
#include "Sync_Time_MPI.h"
#include "Trace_Comm.h"
Include dependency graph for Sync_Time_MPI.c:

Go to the source code of this file.

Functions

void compute_sync_tree (struct sync_tree_conf *conf, void(*action)(struct sync_tree_conf *next_conf, void *arg), void(*per_child_act)(struct sync_tree_conf *conf, void *arg), void(*post_action)(struct sync_tree_conf *next_conf, void *arg), void *arg)
 This function does the actual work prepared by bootstrap_sync_tree(). More...
 
void bootstrap_sync_tree (void(*action)(struct sync_tree_conf *next_conf, void *arg), void(*per_child_act)(struct sync_tree_conf *conf, void *arg), void(*post_action)(struct sync_tree_conf *next_conf, void *arg), void *arg)
 This is a bootstrapping function for calling compute_sync_tree();. More...
 
void sync_server (int dest_rank)
 Server function for synchronizing time. More...
 
void sync_client (int parent, void *poffset)
 The client function for synchronizing time (computes offset between server and client) More...
 
void perchild_host (struct sync_tree_conf *c, void *arg)
 What to be done on each node's child. More...
 
void post_client (struct sync_tree_conf *c, void *arg)
 What to be done on the client side. More...
 
void action_set_off (struct sync_tree_conf *c, void *poffset)
 Copies offset of c to current process timer offset (poffset) More...
 
void action_val (struct sync_tree_conf *c, void *arg)
 For debugging only. More...
 
void sync_mpi ()
 Entry point to be used to perform time sync of every MPI Processes. More...