NGSolve  4.9
Classes | Public Member Functions | Static Public Member Functions
ngstd::NgProfiler Class Reference

A built-in profile. More...

#include <profiler.hpp>

List of all members.

Classes

class  RegionTimer
 Timer object. More...

Public Member Functions

 NgProfiler ()
 create new profile
 ~NgProfiler ()
 delete profiler

Static Public Member Functions

static void SetFileName (const string &afilename)
static NGS_DLL_HEADER int CreateTimer (const string &name)
 create new timer, use integer index
static void StartTimer (int nr)
 start timer of index nr
static void StopTimer (int nr)
 stop timer of index nr
static void AddFlops (int nr, double aflops)
 if you know number of flops, provide them to obtain the MFlop - rate
static void AddLoads (int nr, double aloads)
static void AddStores (int nr, double astores)
static double GetTime (int nr)
static long int GetCounts (int nr)
static void SetName (int nr, const string &name)
 change name
static NGS_DLL_HEADER void Print (FILE *ost)
 print profile

Detailed Description

A built-in profile.


The documentation for this class was generated from the following file: