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 ECom Test to determine performance of ECom client calls during different stages of start-up. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: #ifndef TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H sl@0: #define TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H sl@0: sl@0: #include "Te_EComPerfTestStep.h" sl@0: sl@0: _LIT(KEComAccumulatedClientRequestsPerfTest, "EComAccumulatedClientRequestsPerfTest"); sl@0: sl@0: /** sl@0: Test to determine performance of ECom client calls during different stages of start-up. sl@0: */ sl@0: class CEComAccumulatedClientRequestsPerfTest : public CEComPerfTestBase sl@0: { sl@0: public: sl@0: CEComAccumulatedClientRequestsPerfTest(); sl@0: ~CEComAccumulatedClientRequestsPerfTest(); 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: sl@0: private: sl@0: static const TStartupStateIdentifier iMeasuredStartupStates[]; sl@0: static const TInt iNumMeasuredStartupStates; sl@0: #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: static const TReal iMaxTimeForRequests[][EEComNumClientRequestTypes]; sl@0: #endif // #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: }; sl@0: sl@0: #endif // #define TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H