traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp
branchRCL_3
changeset 23 26645d81f48d
parent 0 08ec8eefde2f
child 24 cc28652e0254
--- 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?????