quickprof.h File Reference

#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include <cmath>
#include <sys/time.h>
Include dependency graph for quickprof.h:

Go to the source code of this file.

Classes

struct  ProfileBlock
 A simple data structure representing a single timed block of code. More...
class  Clock
 A cross-platform clock class inspired by the Timer classes in Ogre (http://www.ogre3d.org). More...
class  Profiler
 A singleton class that manages timing for a set of profiling blocks. More...

Namespaces

namespace  quickprof
 

The main namespace that contains everything.


Defines

#define PROFILER   quickprof::Profiler::instance()
 Use this macro to access the profiler singleton.

Enumerations

enum  TimeFormat { SECONDS, MILLISECONDS, MICROSECONDS, PERCENT }
 

A set of ways to represent timing results.

More...

Define Documentation

#define PROFILER   quickprof::Profiler::instance()

Use this macro to access the profiler singleton.

For example: PROFILER.init(); ... PROFILER.beginBlock("foo"); foo(); PROFILER.endBlock("foo");

Generated on Thu Jun 28 14:47:21 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3