IMP  2.3.0
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)
 
void reset ()
 
void set (std::string name)
 
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 ( )

resets the properties previously set for this class

Definition at line 29 of file Profiler.h.

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

sets the properties of the class to new ones

Definition at line 29 of file Profiler.h.


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