traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/inc/sanity/te_perfsanitytimer.h
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
    41 	EUtraceUsr,
    41 	EUtraceUsr,
    42 	EUtraceKrn,
    42 	EUtraceKrn,
    43 	};
    43 	};
    44 	
    44 	
    45 public:
    45 public:
    46 	TBool	TestUserTimerL(TUint32& aTestTime);
    46 	TBool	TestUserTimer(TUint32& aTestTime);
    47 	TBool	TestUserLongTimerL(TUint32& aTestTime);
    47 	TBool	TestUserLongTimer(TUint32& aTestTime);
    48 	TBool	TestKernelTimerL(TUint32& aTestTime);
    48 	TBool	TestKernelTimer(TUint32& aTestTime);
    49 	TBool	TestKernelLongTimerL(TUint32& aTestTime);
    49 	TBool	TestKernelLongTimer(TUint32& aTestTime);
    50 	TBool	TestUTraceUserTimerL(TUint32& aTestTime);
    50 	TBool	TestUTraceUserTimer(TUint32& aTestTime);
    51 	TBool	TestUTraceKernelTimerL(TUint32& aTestTime);
    51 	TBool	TestUTraceKernelTimer(TUint32& aTestTime);
    52 	TUint32 Count(){return iCount;}
    52 	TUint32 Count(){return iCount;}
    53 private:
    53 private:
    54 	TBool	VerifyTime(TUint32 aTime);
    54 	TBool	VerifyTime(TUint32 aTime);
    55 	TBool	DoTestUTraceTimer(const TInt aApi, TUint32& aTestTime);
    55 	TBool	DoTestUTraceTimer(const TInt aApi, TUint32& aTestTime);
    56 	TBool	DoTestTraceL(const TTestMethodType aMethod, TUint32& aTestTime);
    56 	TBool	DoTestTrace(const TTestMethodType aMethod, TUint32& aTestTime);
    57 private:
    57 private:
    58 	#ifndef __KERNEL_MODE__
    58 	#ifndef __KERNEL_MODE__
    59 	CUptTimer		iTimer;
    59 	CUptTimer		iTimer;
    60 	#else
    60 	#else
    61 	TKernelTimer	iTimer;
    61 	TKernelTimer	iTimer;