traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/inc/te_perf.h
equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2009 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 |
17 /** |
18 /** |
18 @file te_perf.h |
19 @file te_perf.h |
19 @internalTechnology |
20 @internalTechnology |
20 */ |
21 */ |
21 |
|
22 #if (!defined TE_ULOGGERMCLPERFSTEP_H) |
22 #if (!defined TE_ULOGGERMCLPERFSTEP_H) |
23 #define TE_ULOGGERMCLPERFSTEP_H |
23 #define TE_ULOGGERMCLPERFSTEP_H |
24 |
24 #include <datawrapper.h> |
25 #include <test/datawrapper.h> |
|
26 #include "te_ostv2integsuite_basewrapper.h" |
25 #include "te_ostv2integsuite_basewrapper.h" |
27 #include <hal.h> |
26 #include <hal.h> |
28 #include <uloggerclient.h> |
27 #include <uloggerclient.h> |
29 #include "te_ostv2integsuite_basewrapper.h" |
28 #include "te_ostv2integsuite_basewrapper.h" |
30 #include "te_lightlogger.h" |
29 #include "te_lightlogger.h" |
52 TInt32 iDataSize; //this is the amount of data to be sent through the output plugin |
51 TInt32 iDataSize; //this is the amount of data to be sent through the output plugin |
53 TInt iIteration; ///this can be used to calculate the latency - repeat test over these iterations to give latency over time |
52 TInt iIteration; ///this can be used to calculate the latency - repeat test over these iterations to give latency over time |
54 |
53 |
55 private: |
54 private: |
56 //private run config members |
55 //private run config members |
|
56 |
57 }; |
57 }; |
58 |
|
59 |
58 |
60 class CTCMPerformanceWrapper : public CTe_MCLSuiteBaseWrapper |
59 class CTCMPerformanceWrapper : public CTe_MCLSuiteBaseWrapper |
61 { |
60 { |
62 public: |
61 public: |
63 ~CTCMPerformanceWrapper(); |
62 ~CTCMPerformanceWrapper(); |
68 const TTEFSectionName& aSection, |
67 const TTEFSectionName& aSection, |
69 const TInt aAsyncErrorIndex); |
68 const TInt aAsyncErrorIndex); |
70 private: |
69 private: |
71 CTCMPerformanceWrapper(); |
70 CTCMPerformanceWrapper(); |
72 void ConstructL(); |
71 void ConstructL(); |
73 TVerdict DoApiTestsL(const TTEFSectionName& aSection); |
72 TVerdict DoApiTests(const TTEFSectionName& aSection); |
74 TVerdict DoPluginTestsL(const TInt& aPluginOnly, const TTEFSectionName& aSection); //tried TBool - didn't work for some reason |
73 TVerdict DoPluginTests(const TInt& aPluginOnly, const TTEFSectionName& aSection); //tried TBool - didn't work for some reason |
75 TVerdict DoBufferSizeTests();//to be implemented |
74 TVerdict DoBufferSizeTests();//to be implemented |
76 TVerdict DoBufferModeTests();//to be implemented |
75 TVerdict DoBufferModeTests();//to be implemented |
77 TApiRunConfig iApiRunConfig; |
76 TApiRunConfig iApiRunConfig; |
78 CPluginRunConfig* iPluginRunConfig; |
77 CPluginRunConfig* iPluginRunConfig; |
79 }; |
78 }; |
80 |
79 |
|
80 |
|
81 |
|
82 |
81 _LIT(KTCMPerformanceWrapper,"TCMPerformance"); |
83 _LIT(KTCMPerformanceWrapper,"TCMPerformance"); |
82 |
84 |
83 |
85 |
84 #endif |
86 #endif |