traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp
--- a/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp Thu Aug 19 11:36:21 2010 +0300
+++ b/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp Tue Aug 31 16:57:14 2010 +0300
@@ -73,7 +73,7 @@
CPluginTests::CPluginTests()
{
/*Constructor*/
- iPluginTestResult = new(ELeave) CPluginTestResult;
+
__CREATE_LOG(false);
}
@@ -102,7 +102,10 @@
//const COutputPluginTestResult* COutputPluginTests::DoTestL(const TPtrC8& aPluginName, const TPluginConfiguration& aPluginSetting, const TInt& aTestDataSize, const TInt& aTestIteration)
{
//TTraceTester tracecall;
-
+ if (iPluginTestResult == NULL)
+ {
+ iPluginTestResult = new(ELeave) CPluginTestResult;
+ }
TInt numberOfTraces=aPluginRunConfig.iDataSize/16; //update magic number to a size of (trace)/bytes
//do a baseline to remove loop effects for throughput tests?????