Murl::Core::StatisticsItem Class Reference

The StatisticsItem object stores a specific time value in two variants: as recent exact value as well as averaged value. More...

#include "murl_core_i_statistics.h"

Public Member Functions

 StatisticsItem ()
 The default constructor.
 
StatisticsItem operator+ (const StatisticsItem &rhs) const
 Addition operator. More...
 

Public Attributes

Double mRecentUSec
 The exact time value in µsec of the recent frame. More...
 
Double mAveragedUSec
 The averaged time value in µsec of the last frames (averaging factor is 0.1). More...
 

Detailed Description

The StatisticsItem object stores a specific time value in two variants: as recent exact value as well as averaged value.

Member Function Documentation

◆ operator+()

StatisticsItem Murl::Core::StatisticsItem::operator+ ( const StatisticsItem rhs) const
inline

Addition operator.

Parameters
rhsThe right hand side item.
Returns
The added item.

References mAveragedUSec, and mRecentUSec.

Member Data Documentation

◆ mRecentUSec

Double Murl::Core::StatisticsItem::mRecentUSec

The exact time value in µsec of the recent frame.

Referenced by operator+().

◆ mAveragedUSec

Double Murl::Core::StatisticsItem::mAveragedUSec

The averaged time value in µsec of the last frames (averaging factor is 0.1).

Referenced by operator+().


The documentation for this class was generated from the following file:
  • murl_core_i_statistics.h


Copyright © 2011-2018 Spraylight GmbH.