OpenMS  2.8.0
Public Member Functions | Public Attributes | Private Member Functions | List of all members
StopWatch::TimeDiff_ Struct Reference
Collaboration diagram for StopWatch::TimeDiff_:
[legend]

Public Member Functions

double userTime () const
 
double kernelTime () const
 
double getCPUTime () const
 
double clockTime () const
 
TimeDiff_ operator- (const TimeDiff_ &earlier) const
 
TimeDiff_operator+= (const TimeDiff_ &other)
 
bool operator== (const TimeDiff_ &rhs) const
 

Public Attributes

TimeType user_ticks { 0 }
 platform dependent value (might be CPU ticks or time intervals) More...
 
TimeType kernel_ticks { 0 }
 platform dependent value (might be CPU ticks or time intervals) More...
 
PointerSizeInt start_time { 0 }
 time in seconds (relative or absolute, depending on usage) More...
 
PointerSizeInt start_time_usec { 0 }
 time in microseconds (relative or absolute, depending on usage) More...
 

Private Member Functions

double ticksToSeconds_ (TimeType in) const
 

Member Function Documentation

◆ clockTime()

double clockTime ( ) const

◆ getCPUTime()

double getCPUTime ( ) const

◆ kernelTime()

double kernelTime ( ) const

◆ operator+=()

TimeDiff_& operator+= ( const TimeDiff_ other)

◆ operator-()

TimeDiff_ operator- ( const TimeDiff_ earlier) const

◆ operator==()

bool operator== ( const TimeDiff_ rhs) const

◆ ticksToSeconds_()

double ticksToSeconds_ ( TimeType  in) const
private

◆ userTime()

double userTime ( ) const

Member Data Documentation

◆ kernel_ticks

TimeType kernel_ticks { 0 }

platform dependent value (might be CPU ticks or time intervals)

◆ start_time

PointerSizeInt start_time { 0 }

time in seconds (relative or absolute, depending on usage)

◆ start_time_usec

PointerSizeInt start_time_usec { 0 }

time in microseconds (relative or absolute, depending on usage)

◆ user_ticks

TimeType user_ticks { 0 }

platform dependent value (might be CPU ticks or time intervals)