#include <map>
#include <string>
#include <iostream>
#include <boost/thread.hpp>
#include <boost/noncopyable.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
Go to the source code of this file.
Classes | |
struct | fcl::tools::Profiler::AvgInfo |
Information maintained about averaged values. More... | |
struct | fcl::tools::Profiler::PerThread |
Information to be maintained for each thread. More... | |
class | 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 | 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. If the profiler was already started, this block's constructor and destructor take no action. More... | |
struct | fcl::tools::Profiler::TimeInfo |
Information about time spent in a section of the code. More... | |
Namespaces | |
namespace | fcl |
Main namespace. | |
namespace | fcl::time |
Namespace containing time datatypes and time operations. | |
namespace | fcl::tools |
Defines | |
#define | ENABLE_PROFILING 1 |
Typedefs | |
typedef boost::posix_time::time_duration | fcl::time::duration |
Representation of a time duration. | |
typedef boost::posix_time::ptime | fcl::time::point |
Representation of a point in time. | |
Functions | |
point | fcl::time::now (void) |
Get the current time point. | |
duration | fcl::time::seconds (double sec) |
Return the time duration representing a given number of seconds. | |
double | fcl::time::seconds (const duration &d) |
Return the number of seconds that a time duration represents. |
#define ENABLE_PROFILING 1 |