hpp-fcl  1.4.4
HPP fork of FCL -- The Flexible Collision Library
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:

Go to the source code of this file.

Classes

class  hpp::fcl::tools::Profiler
 This is a simple thread-safe tool for counting time spent in various chunks of code. This is different from external profiling tools in that it allows the user to count time spent in various bits of code (sub-function granularity) or count how many times certain pieces of code are executed. More...
 
class  hpp::fcl::tools::Profiler::ScopedBlock
 This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope. More...
 
class  hpp::fcl::tools::Profiler::ScopedStart
 This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. If the profiler was already started, this block's constructor and destructor take no action. More...
 

Namespaces

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

Macros

#define ENABLE_PROFILING   1
 

Typedefs

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

Functions

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

Macro Definition Documentation

◆ ENABLE_PROFILING

#define ENABLE_PROFILING   1