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 void AddClient ( TAny *, TFnWriteLog )
IMPORT_C void Destroy ()
IMPORT_C CPerfMetricStore * NewL ( TInt , TTimeIntervalMicroSeconds32 )
IMPORT_C void RemoveClient ( TAny *)
Private Member Functions
CPerfMetricStore ( TInt , TTimeIntervalMicroSeconds32 )
CPerfMetricStore * Context ()
void DoAddClient ( TAny *, CPerfMetricStore::TFnWriteLog )
TInt DoPulse ()
void DoRemoveClient ( 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
enum anonymous { 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 ( TInt aPriority,
TTimeIntervalMicroSeconds32 aPeriod
) [private]

Parameters

TInt aPriority
TTimeIntervalMicroSeconds32 aPeriod

~CPerfMetricStore()

~CPerfMetricStore ( )

Member Functions Documentation

AddClient(TAny *, TFnWriteLog)

IMPORT_C void AddClient ( TAny * aClientId,
TFnWriteLog aCallBack
) [static]

Parameters

TAny * aClientId
TFnWriteLog aCallBack

Context()

CPerfMetricStore * Context ( ) [private, static]

Destroy()

IMPORT_C void Destroy ( ) [static]

DoAddClient(TAny *, CPerfMetricStore::TFnWriteLog)

void DoAddClient ( TAny * aClientId,
CPerfMetricStore::TFnWriteLog aCallBack
) [private]

Parameters

TAny * aClientId
CPerfMetricStore::TFnWriteLog aCallBack

DoPulse()

TInt DoPulse ( ) [private]

DoRemoveClient(TAny *)

void DoRemoveClient ( TAny * aClientId ) [private]

Parameters

TAny * aClientId

NewL(TInt, TTimeIntervalMicroSeconds32)

IMPORT_C CPerfMetricStore * NewL ( TInt aPriority,
TTimeIntervalMicroSeconds32 aInterval
) [static]

Parameters

TInt aPriority
TTimeIntervalMicroSeconds32 aInterval

Pulse(TAny *)

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

Parameters

TAny * aSelf

RemoveClient(TAny *)

IMPORT_C void RemoveClient ( 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]