sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Defines the ECom Performance Test for the SSA discovery. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: sl@0: #ifndef TE_ECOMSTARTUPSTATEPERFTESTSTEP_H sl@0: #define TE_ECOMSTARTUPSTATEPERFTESTSTEP_H sl@0: sl@0: #include sl@0: #include "Te_EComPerfTestStep.h" sl@0: #include "EComSessionAux.h" sl@0: sl@0: _LIT(KEComStartupStatePerfTest, "EComStartupStatePerfTest"); sl@0: sl@0: class CEComStartupStatePerfTest : public CEComPerfTestBase sl@0: { sl@0: public: sl@0: CEComStartupStatePerfTest(); sl@0: ~CEComStartupStatePerfTest(); sl@0: virtual TVerdict doTestStepL(void); sl@0: // doTestStepPreamble and doTestStepPostamble are implemented in CEComPerfTestBase, sl@0: // which performs initialization common to all ECom performance tests sl@0: private: sl@0: #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: void RetrieveRegistryCountL(RegistryCounts::TRegistryCounts::TRegistryCountDriveType aDriveType, sl@0: RegistryCounts::TRegistryCounts& aCounts, TPtrC aMessage); sl@0: TVerdict ProcessState(RStartupStateTimerResults& aTimerResults, sl@0: TInt aTimerState, sl@0: TReal& aStateStartTime, sl@0: TReal& aStateComplTime); sl@0: TVerdict ProcessState(REComHeapUsageRecords& aHeapResults, TInt aState,TInt& aHeapUsage); sl@0: #endif //__ECOM_SERVER_PERFORMANCE__ sl@0: sl@0: }; sl@0: sl@0: #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H