CommsFW::CPerfMetricStore Class Reference

class CommsFW::CPerfMetricStore : private CPeriodic

performance logging - data stored, but not serialised/dumped until after a specified time

Inherits from

Nested Classes and Structures

Public Member Functions
~CPerfMetricStore()
IMPORT_C voidAddClient(TAny *, TFnWriteLog)
IMPORT_C voidDestroy()
IMPORT_C CPerfMetricStore *NewL(TInt, TTimeIntervalMicroSeconds32)
IMPORT_C voidRemoveClient(TAny *)
Private Member Functions
CPerfMetricStore(TInt, TTimeIntervalMicroSeconds32)
CPerfMetricStore *Context()
voidDoAddClient(TAny *, CPerfMetricStore::TFnWriteLog)
TInt DoPulse()
voidDoRemoveClient(TAny *)
TInt Pulse(TAny *)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPeriodic::CPeriodic(TInt)
CPeriodic::New(TInt)
CPeriodic::NewL(TInt)
CPeriodic::RunL()
CPeriodic::Start(TTimeIntervalMicroSeconds32,TTimeIntervalMicroSeconds32,TCallBack)
CPeriodic::~CPeriodic()
CTimer::After(TTimeIntervalMicroSeconds32)
CTimer::At(const TTime &)
CTimer::AtUTC(const TTime &)
CTimer::CTimer(TInt)
CTimer::ConstructL()
CTimer::DoCancel()
CTimer::HighRes(TTimeIntervalMicroSeconds32)
CTimer::Inactivity(TTimeIntervalSeconds)
CTimer::Lock(TTimerLockSpec)
CTimer::~CTimer()
Public Member Enumerations
enumanonymous { KMaxClients = 32, KPriority = EPriorityHigh + 1, KPeriod = 30 * 1000 * 1000 }
Inherited Enumerations
CActive:TPriority
Public Member Type Definitions
typedef TBool(* TFnWriteLog
Private Attributes
TLogClient iClients
RFileLogger *iLogger
TInt iNumClients
TTimeIntervalMicroSeconds32 iPeriod
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CPerfMetricStore(TInt, TTimeIntervalMicroSeconds32)

CPerfMetricStore(TIntaPriority,
TTimeIntervalMicroSeconds32aPeriod
)[private]

Parameters

TInt aPriority
TTimeIntervalMicroSeconds32 aPeriod

~CPerfMetricStore()

~CPerfMetricStore()

Member Functions Documentation

AddClient(TAny *, TFnWriteLog)

IMPORT_C voidAddClient(TAny *aClientId,
TFnWriteLogaCallBack
)[static]

Parameters

TAny * aClientId
TFnWriteLog aCallBack

Context()

CPerfMetricStore *Context()[private, static]

Destroy()

IMPORT_C voidDestroy()[static]

DoAddClient(TAny *, CPerfMetricStore::TFnWriteLog)

voidDoAddClient(TAny *aClientId,
CPerfMetricStore::TFnWriteLogaCallBack
)[private]

Parameters

TAny * aClientId
CPerfMetricStore::TFnWriteLog aCallBack

DoPulse()

TInt DoPulse()[private]

DoRemoveClient(TAny *)

voidDoRemoveClient(TAny *aClientId)[private]

Parameters

TAny * aClientId

NewL(TInt, TTimeIntervalMicroSeconds32)

IMPORT_C CPerfMetricStore *NewL(TIntaPriority,
TTimeIntervalMicroSeconds32aInterval
)[static]

Parameters

TInt aPriority
TTimeIntervalMicroSeconds32 aInterval

Pulse(TAny *)

TInt Pulse(TAny *aSelf)[private, static]

Parameters

TAny * aSelf

RemoveClient(TAny *)

IMPORT_C voidRemoveClient(TAny *aClientId)[static]

Parameters

TAny * aClientId

Member Enumerations Documentation

Enum anonymous

Enumerators

KMaxClients = 32
KPriority = EPriorityHigh + 1
KPeriod = 30 * 1000 * 1000

Member Type Definitions Documentation

Typedef TFnWriteLog

typedef TBool(*TFnWriteLog

Member Data Documentation

TLogClient iClients

TLogClient iClients[private]

RFileLogger * iLogger

RFileLogger *iLogger[private]

TInt iNumClients

TInt iNumClients[private]

TTimeIntervalMicroSeconds32 iPeriod

TTimeIntervalMicroSeconds32 iPeriod[private]