|
Public Methods |
OSCL_IMPORT_REF void | StartScheduler (OsclSemaphore *sem=NULL) |
OSCL_IMPORT_REF void | StopScheduler () |
OSCL_IMPORT_REF void | SuspendScheduler () |
OSCL_IMPORT_REF void | ResumeScheduler () |
OSCL_IMPORT_REF void | StartNativeScheduler () |
Static Public Methods |
OSCL_IMPORT_REF OsclNameString<
PVSCHEDNAMELEN > * | GetName () |
OSCL_IMPORT_REF uint32 | GetId () |
Protected Types |
enum | TOtherExecStats {
EOtherExecStats_WaitTime,
EOtherExecStats_QueueTime,
EOtherExecStats_NativeOS,
EOtherExecStats_ReleaseTime,
EOtherExecStats_Last
} |
Protected Methods |
virtual | ~OsclExecSchedulerCommonBase () |
void | InstallScheduler () |
void | UninstallScheduler () |
void | Error (int32 anError) const |
| OsclExecSchedulerCommonBase (Oscl_DefAlloc *) |
virtual void | ConstructL (const char *name, int) |
void | BeginScheduling (bool blocking, bool native) |
void | EndScheduling () |
void | BlockingLoopL () |
bool | IsStarted () |
bool | IsInstalled () |
void | AddToExecTimerQ (PVActiveBase *active, uint32) |
void | PendComplete (PVActiveBase *, int32 aReason, TPVThreadContext aContext) |
void | RequestCanceled (PVActiveBase *) |
PVActiveBase * | UpdateTimers (uint32 &aDelay) |
PVActiveBase * | UpdateTimersMsec (uint32 &aDelay) |
PVActiveBase * | WaitForReadyAO () |
void | CallRunExec (PVActiveBase *) |
void | ConstructStatQ () |
void | BeginStats () |
void | EndStats () |
void | CleanupStatQ () |
PVActiveBase * | FindPVBase (PVActiveBase *active, OsclDoubleList< PVActiveBase > &) |
void | CleanupExecQ () |
void | InitExecQ (int) |
void | ResetLogPerf () |
void | IncLogPerf (uint32) |
Static Protected Methods |
OsclExecSchedulerCommonBase * | GetScheduler () |
OsclExecSchedulerCommonBase * | SetScheduler (OsclExecSchedulerCommonBase *) |
void | ShowStats (PVActiveStats *active) |
void | ShowSummaryStats (PVActiveStats *active, PVLogger *, int64, int64 &, float &) |
Protected Attributes |
bool | iBlockingMode |
bool | iNativeMode |
PVSchedulerStopper * | iStopper |
OsclNoYieldMutex | iStopperCrit |
PVThreadContext | iThreadContext |
OsclNameString< PVSCHEDNAMELEN > | iName |
bool | iDoStop |
bool | iDoSuspend |
bool | iSuspended |
OsclSemaphore | iResumeSem |
OsclErrorTrapImp * | iErrorTrapImp |
OsclReadyQ | iReadyQ |
OsclTimerQ | iExecTimerQ |
uint32 | iNumAOAdded |
OsclDoubleList< PVActiveStats > | iPVStatQ |
PVActiveStats * | iOtherExecStats [EOtherExecStats_Last] |
uint8 * | iTotalTicksTemp |
int64 | iGrandTotalTicks |
float | iTotalPercent |
uint32 | iTime |
int32 | iDelta |
PVActiveStats * | iPVStats |
PVLogger * | iLogger |
PVLogger * | iDebugLogger |
char * | iLogPerfIndentStr |
int32 | iLogPerfIndentStrLen |
uint32 | iLogPerfTotal |
Oscl_DefAlloc * | iAlloc |
OsclMemAllocator | iDefAlloc |
Static Protected Attributes |
const uint32 | iTimeCompareThreshold |
Friends |
class | OsclScheduler |
class | PVThreadContext |
class | OsclCoeActiveScheduler |
class | OsclTimerCompare |
class | OsclReadyQ |
class | OsclError |
class | PVActiveStats |
class | OsclActiveObject |
class | OsclTimerObject |
class | PVActiveBase |
class | PVSchedulerStopper |
class | OsclExecScheduler |