src/pbe/pbe.h File Reference

#include "pbedefs.h"

Include dependency graph for pbe.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float pbe_reduce (float t_local)
int pbe_init (const char *name, int numofslots, int argparametercount, struct pbeparameter *argparameters)
void pbe_dump ()
int pbe_finalize (int numofiterations)

Variables

tms _tms_aid
benchmarkpbe_data
int pbe_initialized
int pbe_numofslots


Function Documentation

void pbe_dump (  ) 

Print timing statistics for all timers to stdout

Definition at line 138 of file pbe.h.

References benchmark::have_mpi, benchmark::mpirank, timer::name, pbe_data, pbe_getcounter, pbe_getrealtime, pbe_getsystime, pbe_getsysusrtime, pbe_getusrtime, pbe_reduce(), benchmark::slots, and benchmark::timers.

Referenced by main(), and FemaxxDriver::~FemaxxDriver().

Here is the call graph for this function:

int pbe_finalize ( int  numofiterations  ) 

Dumps timing stats (maximised over all CPUs) to a file and frees all memory.

Parameters:
numofiterations all times are divided by this number of they are dumped to the output file. If this parameter is zero, no output file is created.

Definition at line 168 of file pbe.h.

References CLK_TCK, benchmark::have_mpi, benchmark::mpirank, benchmark::mpisize, benchmark::name, pbeparameter::name, timer::name, benchmark::parametercount, benchmark::parameters, pbe_data, pbe_getcounter, pbe_getrealtime, pbe_getsystime, pbe_getsysusrtime, pbe_getusrtime, pbe_reduce(), pbeparameter::shortname, benchmark::slots, benchmark::timers, and pbeparameter::value.

Referenced by main(), and FemaxxDriver::~FemaxxDriver().

Here is the call graph for this function:

int pbe_init ( const char *  name,
int  numofslots,
int  argparametercount,
struct pbeparameter argparameters 
)

Definition at line 41 of file pbe.h.

References benchmark::have_mpi, benchmark::mpirank, benchmark::mpisize, timer::name, benchmark::name, benchmark::parametercount, benchmark::parameters, pbe_data, benchmark::slots, and benchmark::timers.

Referenced by FemaxxDriver::FemaxxDriver(), and main().

float pbe_reduce ( float  t_local  ) 

Definition at line 34 of file pbe.h.

Referenced by pbe_dump(), and pbe_finalize().


Variable Documentation

struct tms _tms_aid

Definition at line 11 of file pbe.h.

struct benchmark* pbe_data

Definition at line 12 of file pbe.h.

Referenced by pbe_dump(), pbe_finalize(), and pbe_init().

int pbe_initialized

Definition at line 13 of file pbe.h.

int pbe_numofslots

Definition at line 14 of file pbe.h.


Generated on Fri Oct 26 13:35:14 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7