vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::StopWatchNull Class Reference

A null StopWatch. More...

#include <vsmc/utility/stop_watch.hpp>

Public Member Functions

double hours () const
 
double microseconds () const
 
double milliseconds () const
 
double minutes () const
 
double nanoseconds () const
 
void reset ()
 
bool running () const
 
double seconds () const
 
bool start ()
 
bool stop ()
 

Detailed Description

A null StopWatch.

This class provides StopWatch interface but does nothing

Definition at line 95 of file stop_watch.hpp.

Member Function Documentation

double vsmc::StopWatchNull::hours ( ) const
inline

Definition at line 109 of file stop_watch.hpp.

double vsmc::StopWatchNull::microseconds ( ) const
inline

Definition at line 105 of file stop_watch.hpp.

double vsmc::StopWatchNull::milliseconds ( ) const
inline

Definition at line 106 of file stop_watch.hpp.

double vsmc::StopWatchNull::minutes ( ) const
inline

Definition at line 108 of file stop_watch.hpp.

double vsmc::StopWatchNull::nanoseconds ( ) const
inline

Definition at line 104 of file stop_watch.hpp.

void vsmc::StopWatchNull::reset ( )
inline

Definition at line 102 of file stop_watch.hpp.

bool vsmc::StopWatchNull::running ( ) const
inline

Definition at line 99 of file stop_watch.hpp.

double vsmc::StopWatchNull::seconds ( ) const
inline

Definition at line 107 of file stop_watch.hpp.

bool vsmc::StopWatchNull::start ( )
inline

Definition at line 100 of file stop_watch.hpp.

bool vsmc::StopWatchNull::stop ( )
inline

Definition at line 101 of file stop_watch.hpp.