IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
IMP::benchmark::Profiler Class Reference

#include <IMP/benchmark/Profiler.h>

+ Inheritance diagram for IMP::benchmark::Profiler:

Detailed Description

One can use the GPerfTools profiler to profile code. On a Mac, you should use the Instruments program instead (part of the Mac OS X Developer Tools).

Definition at line 23 of file Profiler.h.

Public Member Functions

 Profiler (std::string name)
 Explicit constructor that sets the properties of Profiler. More...
 
void reset ()
 Remove the properties previously set for this class. More...
 
void set (std::string name)
 Assign new properties to the class. More...
 
void show (std::ostream &out=std::cout) const
 

Constructor & Destructor Documentation

IMP::benchmark::Profiler::Profiler ( std::string  name)
explicit

Explicit constructor that sets the properties of Profiler.

Definition at line 29 of file Profiler.h.

Member Function Documentation

void IMP::benchmark::Profiler::reset ( )

Remove the properties previously set for this class.

Definition at line 29 of file Profiler.h.

void IMP::benchmark::Profiler::set ( std::string  name)

Assign new properties to the class.

Definition at line 29 of file Profiler.h.


The documentation for this class was generated from the following file: