Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::timer::auto_cpu_timer Class Reference

#include <timer.hpp>

Inheritance diagram for boost::timer::auto_cpu_timer:
Collaboration diagram for boost::timer::auto_cpu_timer:

Public Member Functions

 auto_cpu_timer (short places=default_places)
 
 auto_cpu_timer (short places, const std::string &format)
 
 auto_cpu_timer (const std::string &format)
 
 auto_cpu_timer (std::ostream &os, short places, const std::string &format)
 
 auto_cpu_timer (std::ostream &os, short places=default_places)
 
 auto_cpu_timer (std::ostream &os, const std::string &format)
 
 ~auto_cpu_timer ()
 
std::ostream & ostream () const
 
short places () const
 
const std::string & format_string () const
 
void report ()
 
bool is_stopped () const BOOST_NOEXCEPT
 
cpu_times elapsed () const BOOST_NOEXCEPT
 
std::string format (short places, const std::string &format) const
 
std::string format (short places=default_places) const
 
void start () BOOST_NOEXCEPT
 
void stop () BOOST_NOEXCEPT
 
void resume () BOOST_NOEXCEPT
 

Constructor & Destructor Documentation

boost::timer::auto_cpu_timer::auto_cpu_timer ( short  places = default_places)
explicit
boost::timer::auto_cpu_timer::auto_cpu_timer ( short  places,
const std::string &  format 
)
boost::timer::auto_cpu_timer::auto_cpu_timer ( const std::string &  format)
explicit
boost::timer::auto_cpu_timer::auto_cpu_timer ( std::ostream &  os,
short  places,
const std::string &  format 
)
inline
boost::timer::auto_cpu_timer::auto_cpu_timer ( std::ostream &  os,
short  places = default_places 
)
explicit
boost::timer::auto_cpu_timer::auto_cpu_timer ( std::ostream &  os,
const std::string &  format 
)
inline
boost::timer::auto_cpu_timer::~auto_cpu_timer ( )

Member Function Documentation

cpu_times boost::timer::cpu_timer::elapsed ( ) const
inherited
std::string boost::timer::cpu_timer::format ( short  places,
const std::string &  format 
) const
inlineinherited
std::string boost::timer::cpu_timer::format ( short  places = default_places) const
inlineinherited
const std::string& boost::timer::auto_cpu_timer::format_string ( ) const
inline
bool boost::timer::cpu_timer::is_stopped ( ) const
inlineinherited
std::ostream& boost::timer::auto_cpu_timer::ostream ( ) const
inline
short boost::timer::auto_cpu_timer::places ( ) const
inline
void boost::timer::auto_cpu_timer::report ( )
void boost::timer::cpu_timer::resume ( )
inherited
void boost::timer::cpu_timer::start ( )
inherited
void boost::timer::cpu_timer::stop ( )
inherited

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