|
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 the ECom Performance Test for the SSA discovery. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 |
|
24 #ifndef TE_ECOMSTARTUPSTATEPERFTESTSTEP_H |
|
25 #define TE_ECOMSTARTUPSTATEPERFTESTSTEP_H |
|
26 |
|
27 #include <e32cmn.h> |
|
28 #include "Te_EComPerfTestStep.h" |
|
29 #include "EComSessionAux.h" |
|
30 |
|
31 _LIT(KEComStartupStatePerfTest, "EComStartupStatePerfTest"); |
|
32 |
|
33 class CEComStartupStatePerfTest : public CEComPerfTestBase |
|
34 { |
|
35 public: |
|
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 |
|
41 private: |
|
42 #ifdef __ECOM_SERVER_PERFORMANCE__ |
|
43 void RetrieveRegistryCountL(RegistryCounts::TRegistryCounts::TRegistryCountDriveType aDriveType, |
|
44 RegistryCounts::TRegistryCounts& aCounts, TPtrC aMessage); |
|
45 TVerdict ProcessState(RStartupStateTimerResults& aTimerResults, |
|
46 TInt aTimerState, |
|
47 TReal& aStateStartTime, |
|
48 TReal& aStateComplTime); |
|
49 TVerdict ProcessState(REComHeapUsageRecords& aHeapResults, TInt aState,TInt& aHeapUsage); |
|
50 #endif //__ECOM_SERVER_PERFORMANCE__ |
|
51 |
|
52 }; |
|
53 |
|
54 #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H |