IMP  2.2.1
The Integrative Modeling Platform
IMP::benchmark::Profiler Class Reference

#include <IMP/benchmark/Profiler.h>

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

Public Member Functions

 Profiler (std::string name)
 
void reset ()
 
void set (std::string name)
 
void show (std::ostream &out=std::cout) const
 

Detailed Description

One can use the GPerfTools the GPerfTools profiler} to profile code. On a mac, you should use the Instruments program instead (part of the mac os developer tools).

Definition at line 23 of file Profiler.h.

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: