traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp
equal
deleted
inserted
replaced
71 |
71 |
72 |
72 |
73 CPluginTests::CPluginTests() |
73 CPluginTests::CPluginTests() |
74 { |
74 { |
75 /*Constructor*/ |
75 /*Constructor*/ |
76 iPluginTestResult = new(ELeave) CPluginTestResult; |
76 |
77 __CREATE_LOG(false); |
77 __CREATE_LOG(false); |
78 } |
78 } |
79 |
79 |
80 CPluginTests::~CPluginTests() |
80 CPluginTests::~CPluginTests() |
81 { |
81 { |
100 */ |
100 */ |
101 CPluginTestResult* CPluginTests::DoTestL(const CPluginRunConfig& aPluginRunConfig) |
101 CPluginTestResult* CPluginTests::DoTestL(const CPluginRunConfig& aPluginRunConfig) |
102 //const COutputPluginTestResult* COutputPluginTests::DoTestL(const TPtrC8& aPluginName, const TPluginConfiguration& aPluginSetting, const TInt& aTestDataSize, const TInt& aTestIteration) |
102 //const COutputPluginTestResult* COutputPluginTests::DoTestL(const TPtrC8& aPluginName, const TPluginConfiguration& aPluginSetting, const TInt& aTestDataSize, const TInt& aTestIteration) |
103 { |
103 { |
104 //TTraceTester tracecall; |
104 //TTraceTester tracecall; |
105 |
105 if (iPluginTestResult == NULL) |
|
106 { |
|
107 iPluginTestResult = new(ELeave) CPluginTestResult; |
|
108 } |
106 |
109 |
107 TInt numberOfTraces=aPluginRunConfig.iDataSize/16; //update magic number to a size of (trace)/bytes |
110 TInt numberOfTraces=aPluginRunConfig.iDataSize/16; //update magic number to a size of (trace)/bytes |
108 //do a baseline to remove loop effects for throughput tests????? |
111 //do a baseline to remove loop effects for throughput tests????? |
109 |
112 |
110 //removed logging of timestamp because of a warning... |
113 //removed logging of timestamp because of a warning... |