arsa  2.7
Public Member Functions | Friends | List of all members
irr::SProfileData Struct Reference

Used to store the profile data (and also used for profile group data). More...

#include <IProfiler.h>

Public Member Functions

 SProfileData ()
 
bool operator< (const SProfileData &pd) const
 
bool operator== (const SProfileData &pd) const
 
u32 getGroupIndex () const
 
const core::stringwgetName () const
 
u32 getCallsCounter () const
 Each time profiling for this data is stopped it increases the counter by 1. More...
 
u32 getLongestTime () const
 Longest time a profile call for this id took from start until it was stopped again. More...
 
u32 getTimeSum () const
 Time spend between start/stop. More...
 

Friends

class IProfiler
 

Detailed Description

Used to store the profile data (and also used for profile group data).

Definition at line 20 of file IProfiler.h.

Constructor & Destructor Documentation

◆ SProfileData()

irr::SProfileData::SProfileData ( )
inline

Definition at line 24 of file IProfiler.h.

25  {
26  GroupIndex = 0;
27  reset();
28  }
GLboolean reset

Member Function Documentation

◆ getCallsCounter()

u32 irr::SProfileData::getCallsCounter ( ) const
inline

Each time profiling for this data is stopped it increases the counter by 1.

Definition at line 51 of file IProfiler.h.

52  {
53  return CountCalls;
54  }

◆ getGroupIndex()

u32 irr::SProfileData::getGroupIndex ( ) const
inline

Definition at line 40 of file IProfiler.h.

41  {
42  return GroupIndex;
43  }

◆ getLongestTime()

u32 irr::SProfileData::getLongestTime ( ) const
inline

Longest time a profile call for this id took from start until it was stopped again.

Definition at line 57 of file IProfiler.h.

58  {
59  return LongestTime;
60  }

◆ getName()

const core::stringw& irr::SProfileData::getName ( ) const
inline

Definition at line 45 of file IProfiler.h.

46  {
47  return Name;
48  }

◆ getTimeSum()

u32 irr::SProfileData::getTimeSum ( ) const
inline

Time spend between start/stop.

Definition at line 63 of file IProfiler.h.

64  {
65  return TimeSum;
66  }

◆ operator<()

bool irr::SProfileData::operator< ( const SProfileData pd) const
inline

Definition at line 30 of file IProfiler.h.

31  {
32  return Id < pd.Id;
33  }

◆ operator==()

bool irr::SProfileData::operator== ( const SProfileData pd) const
inline

Definition at line 35 of file IProfiler.h.

36  {
37  return Id == pd.Id;
38  }

Friends And Related Function Documentation

◆ IProfiler

friend class IProfiler
friend

Definition at line 22 of file IProfiler.h.


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