|
NGSolve
4.9
|
A built-in profile. More...
#include <profiler.hpp>
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 | |
A built-in profile.
1.7.6.1