traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/inc/te_perf.h
equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
16 |
17 |
|
18 /** |
17 /** |
19 @file te_perf.h |
18 @file te_perf.h |
20 @internalTechnology |
19 @internalTechnology |
21 */ |
20 */ |
|
21 |
22 #if (!defined TE_ULOGGERMCLPERFSTEP_H) |
22 #if (!defined TE_ULOGGERMCLPERFSTEP_H) |
23 #define TE_ULOGGERMCLPERFSTEP_H |
23 #define TE_ULOGGERMCLPERFSTEP_H |
24 #include <datawrapper.h> |
24 |
|
25 #include <test/datawrapper.h> |
25 #include "te_ostv2integsuite_basewrapper.h" |
26 #include "te_ostv2integsuite_basewrapper.h" |
26 #include <hal.h> |
27 #include <hal.h> |
27 #include <uloggerclient.h> |
28 #include <uloggerclient.h> |
28 #include "te_ostv2integsuite_basewrapper.h" |
29 #include "te_ostv2integsuite_basewrapper.h" |
29 #include "te_lightlogger.h" |
30 #include "te_lightlogger.h" |
51 TInt32 iDataSize; //this is the amount of data to be sent through the output plugin |
52 TInt32 iDataSize; //this is the amount of data to be sent through the output plugin |
52 TInt iIteration; ///this can be used to calculate the latency - repeat test over these iterations to give latency over time |
53 TInt iIteration; ///this can be used to calculate the latency - repeat test over these iterations to give latency over time |
53 |
54 |
54 private: |
55 private: |
55 //private run config members |
56 //private run config members |
|
57 }; |
56 |
58 |
57 }; |
|
58 |
59 |
59 class CTCMPerformanceWrapper : public CTe_MCLSuiteBaseWrapper |
60 class CTCMPerformanceWrapper : public CTe_MCLSuiteBaseWrapper |
60 { |
61 { |
61 public: |
62 public: |
62 ~CTCMPerformanceWrapper(); |
63 ~CTCMPerformanceWrapper(); |
67 const TTEFSectionName& aSection, |
68 const TTEFSectionName& aSection, |
68 const TInt aAsyncErrorIndex); |
69 const TInt aAsyncErrorIndex); |
69 private: |
70 private: |
70 CTCMPerformanceWrapper(); |
71 CTCMPerformanceWrapper(); |
71 void ConstructL(); |
72 void ConstructL(); |
72 TVerdict DoApiTests(const TTEFSectionName& aSection); |
73 TVerdict DoApiTestsL(const TTEFSectionName& aSection); |
73 TVerdict DoPluginTests(const TInt& aPluginOnly, const TTEFSectionName& aSection); //tried TBool - didn't work for some reason |
74 TVerdict DoPluginTestsL(const TInt& aPluginOnly, const TTEFSectionName& aSection); //tried TBool - didn't work for some reason |
74 TVerdict DoBufferSizeTests();//to be implemented |
75 TVerdict DoBufferSizeTests();//to be implemented |
75 TVerdict DoBufferModeTests();//to be implemented |
76 TVerdict DoBufferModeTests();//to be implemented |
76 TApiRunConfig iApiRunConfig; |
77 TApiRunConfig iApiRunConfig; |
77 CPluginRunConfig* iPluginRunConfig; |
78 CPluginRunConfig* iPluginRunConfig; |
78 }; |
79 }; |
79 |
80 |
80 |
|
81 |
|
82 |
|
83 _LIT(KTCMPerformanceWrapper,"TCMPerformance"); |
81 _LIT(KTCMPerformanceWrapper,"TCMPerformance"); |
84 |
82 |
85 |
83 |
86 #endif |
84 #endif |