IFEM  90A354
Classes | Namespaces | Macros | Variables
Profiler.h File Reference

Simple profiling of computational tasks. More...

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <ctime>
Include dependency graph for Profiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Profiler
 Simple class for profiling of computational tasks. More...
 
struct  Profiler::Profile
 Stores profiling data for one computational task. More...
 
class  utl::prof
 Convenience class to profile the local scope. More...
 

Namespaces

 utl
 General utility classes and functions.
 

Macros

#define PROFILE(label)   utl::prof _prof(label)
 Macro to add profiling of the local scope.
 
#define PROFILE1(label)
 Macro to add level 1 profiling of the local scope.
 
#define PROFILE2(label)
 Macro to add level 2 profiling of the local scope.
 
#define PROFILE3(label)
 Macro to add level 3 profiling of the local scope.
 
#define PROFILE4(label)
 Macro to add level 4 profiling of the local scope.
 

Variables

Profilerutl::profiler = nullptr
 Pointer to the one and only profiler object.
 

Detailed Description

Simple profiling of computational tasks.

Date
May 18 2010
Author
Knut Morten Okstad / SINTEF