os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/Te_EComStartupStatePerfTestStep.h
First public contribution.
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Defines the ECom Performance Test for the SSA discovery.
24 #ifndef TE_ECOMSTARTUPSTATEPERFTESTSTEP_H
25 #define TE_ECOMSTARTUPSTATEPERFTESTSTEP_H
28 #include "Te_EComPerfTestStep.h"
29 #include "EComSessionAux.h"
31 _LIT(KEComStartupStatePerfTest, "EComStartupStatePerfTest");
33 class CEComStartupStatePerfTest : public CEComPerfTestBase
36 CEComStartupStatePerfTest();
37 ~CEComStartupStatePerfTest();
38 virtual TVerdict doTestStepL(void);
39 // doTestStepPreamble and doTestStepPostamble are implemented in CEComPerfTestBase,
40 // which performs initialization common to all ECom performance tests
42 #ifdef __ECOM_SERVER_PERFORMANCE__
43 void RetrieveRegistryCountL(RegistryCounts::TRegistryCounts::TRegistryCountDriveType aDriveType,
44 RegistryCounts::TRegistryCounts& aCounts, TPtrC aMessage);
45 TVerdict ProcessState(RStartupStateTimerResults& aTimerResults,
47 TReal& aStateStartTime,
48 TReal& aStateComplTime);
49 TVerdict ProcessState(REComHeapUsageRecords& aHeapResults, TInt aState,TInt& aHeapUsage);
50 #endif //__ECOM_SERVER_PERFORMANCE__
54 #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H