Dendro  5.01
Dendro in Greek language means tree. The Dendro library is a large scale (262K cores on ORNL's Titan) distributed memory adaptive octree framework. The main goal of Dendro is to perform large scale multiphysics simulations efficeiently in mordern supercomputers. Dendro consists of efficient parallel data structures and algorithms to perform variational ( finite element) methods and finite difference mthods on 2:1 balanced arbitary adaptive octrees which enables the users to perform simulations raning from black holes (binary black hole mergers) to blood flow in human body, where applications ranging from relativity, astrophysics to biomedical engineering.
sc_flops.h
1 #ifndef SC_FLOPS_H
2 #define SC_FLOPS_H
3 
4 #include "stddef.h"
5 
6 typedef struct sc_flopinfo
7 {
8  double seconds; /* current time from MPI_Wtime */
9 
10  /* these variables measure onward from from sc_flops_start */
11  double cwtime; /* cumulative wall time */
12  float crtime; /* cumulative real time */
13  float cptime; /* cumulative process time */
14  long long cflpops; /* cumulative floating point operations */
15 
16  /* measure since sc_flops_start or the previous sc_flops_count */
17  double iwtime; /* interval wall time */
18  float irtime; /* interval real time */
19  float iptime; /* interval process time */
20  long long iflpops; /* interval floating point operations */
21  float mflops; /* MFlop/s rate in this interval */
22 
23  /* without SC_PAPI only seconds, ?wtime and ?rtime are meaningful */
24 }
26 
33 void sc_flops_papi (float *rtime, float *ptime,
34  long long *flpops, float *mflops);
35 
43 void sc_flops_start (sc_flopinfo_t * fi);
44 
53 void sc_flops_count (sc_flopinfo_t * fi);
54 
61 void sc_flops_snap (sc_flopinfo_t * fi,
62  sc_flopinfo_t * snapshot);
63 
73 void sc_flops_shot (sc_flopinfo_t * fi,
74  sc_flopinfo_t * snapshot);
75 
80 void sc_flops_shotv (sc_flopinfo_t * fi, ...);
81 
82 
83 #endif /* !SC_FLOPS_H */
Definition: sc_flops.h:6