All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
profile.h File Reference
#include <map>
#include <string>
#include <iostream>
#include <boost/thread.hpp>
#include <boost/noncopyable.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
Include dependency graph for profile.h:

Classes

class  fcl::tools::Profiler
 This is a simple thread-safe tool for counting time spent in various chunks of code. More...
 
class  fcl::tools::Profiler::ScopedBlock
 This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope. More...
 
class  fcl::tools::Profiler::ScopedStart
 This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. More...
 

Namespaces

 fcl
 Main namespace.
 
 fcl::time
 Namespace containing time datatypes and time operations.
 
 fcl::tools
 

Macros

#define ENABLE_PROFILING   1
 

Typedefs

typedef boost::posix_time::ptime fcl::time::point
 Representation of a point in time. More...
 
typedef
boost::posix_time::time_duration 
fcl::time::duration
 Representation of a time duration. More...
 

Functions

point fcl::time::now (void)
 Get the current time point. More...
 
duration fcl::time::seconds (double sec)
 Return the time duration representing a given number of seconds. More...
 
double fcl::time::seconds (const duration &d)
 Return the number of seconds that a time duration represents. More...
 

Macro Definition Documentation

#define ENABLE_PROFILING   1