os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/Te_EComAccumulatedClientRequestPerfTestStep.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Defines ECom Test to determine performance of ECom client calls during different stages of start-up.
    15 // 
    16 //
    17 
    18 /**
    19  @file
    20  @internalComponent
    21 */
    22  
    23 #ifndef	TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H
    24 #define	TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H
    25 
    26 #include "Te_EComPerfTestStep.h"
    27 
    28 _LIT(KEComAccumulatedClientRequestsPerfTest, "EComAccumulatedClientRequestsPerfTest");
    29         
    30 /** 
    31  Test to determine performance of ECom client calls during different stages of start-up.
    32  */
    33 class CEComAccumulatedClientRequestsPerfTest : public CEComPerfTestBase
    34 	{
    35 public:
    36 	CEComAccumulatedClientRequestsPerfTest();
    37 	~CEComAccumulatedClientRequestsPerfTest();
    38 	virtual TVerdict doTestStepL(void);
    39 	// doTestStepPreamble and doTestStepPostamble are implemented in CEComPerfTestBase, 
    40 	// which performs initialization common to all ECom performance tests	
    41 	
    42 private:
    43 	static const TStartupStateIdentifier iMeasuredStartupStates[];
    44 	static const TInt iNumMeasuredStartupStates;
    45 #ifdef __ECOM_SERVER_PERFORMANCE__
    46 	static const TReal iMaxTimeForRequests[][EEComNumClientRequestTypes];
    47 #endif // #ifdef __ECOM_SERVER_PERFORMANCE__
    48 	};
    49 	
    50 #endif // #define TE_ECOMACCUMULATEDCLIENTREQUESTPERFTESTSTEP_H