|
NGSolve
5.3
|
A built-in profile. More...
#include <profiler.hpp>

Classes | |
| class | RegionTimer |
| Timer object. More... | |
Public Types | |
| enum | { SIZE = 1000000 } |
| maximal number of timers | |
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 int | GetNr (const string &name) |
| static double | GetTime (int nr) |
| static double | GetTime (const string &name) |
| static long int | GetCounts (int nr) |
| static long int | GetFlops (int nr) |
| static void | SetName (int nr, const string &name) |
| change name | |
| static NGS_DLL_HEADER void | Print (FILE *ost) |
| print profile | |
Static Public Attributes | |
| static NGS_DLL_HEADER double | tottimes [SIZE] |
| static NGS_DLL_HEADER double | starttimes [SIZE] |
| static NGS_DLL_HEADER long int | counts [SIZE] |
| static NGS_DLL_HEADER double | flops [SIZE] |
| static NGS_DLL_HEADER double | loads [SIZE] |
| static NGS_DLL_HEADER double | stores [SIZE] |
| static NGS_DLL_HEADER string | names [SIZE] |
| static NGS_DLL_HEADER int | usedcounter [SIZE] |
A built-in profile.
1.7.6.1