IBR-DTNSuite  0.8
ibrcommon::TimeMeasurement Class Reference

#include <TimeMeasurement.h>

List of all members.

Public Member Functions

 TimeMeasurement ()
virtual ~TimeMeasurement ()
void start ()
void stop ()
u_int64_t getNanoseconds () const
float getMicroseconds () const
float getMilliseconds () const
float getSeconds () const

Static Public Member Functions

static std::ostream & format (std::ostream &stream, const float value)

Friends

std::ostream & operator<< (std::ostream &stream, const TimeMeasurement &measurement)

Detailed Description

Definition at line 29 of file TimeMeasurement.h.


Constructor & Destructor Documentation

Definition at line 24 of file TimeMeasurement.cpp.

References start(), and stop().

Here is the call graph for this function:

Definition at line 29 of file TimeMeasurement.cpp.


Member Function Documentation

std::ostream & ibrcommon::TimeMeasurement::format ( std::ostream &  stream,
const float  value 
) [static]

Definition at line 94 of file TimeMeasurement.cpp.

Referenced by ibrcommon::operator<<(), and print_summary().

Definition at line 78 of file TimeMeasurement.cpp.

References getNanoseconds().

Referenced by ibrcommon::__nonlinux_select(), dtn::data::AgeBlock::getMicroseconds(), and dtn::data::AgeBlock::getSeconds().

Here is the call graph for this function:

Definition at line 54 of file TimeMeasurement.cpp.

References getNanoseconds().

Referenced by dtn::net::IPNDAgent::componentRun(), getSeconds(), and main().

Here is the call graph for this function:

Definition at line 65 of file TimeMeasurement.cpp.

Referenced by getMicroseconds(), and getMilliseconds().

Definition at line 89 of file TimeMeasurement.cpp.

References getMilliseconds().

Referenced by BundleStreamBuf::__underflow(), dtn::net::operator<<(), and dtn::api::BundleStreamBuf::underflow().

Here is the call graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const TimeMeasurement measurement 
) [friend]

Definition at line 106 of file TimeMeasurement.cpp.


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