traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
--- a/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp	Tue Aug 31 16:57:14 2010 +0300
+++ b/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp	Wed Sep 01 12:39:58 2010 +0100
@@ -73,7 +73,7 @@
 CPluginTests::CPluginTests()
 	{
 	/*Constructor*/
-
+	iPluginTestResult = new(ELeave) CPluginTestResult;
 	__CREATE_LOG(false);
 	}
 
@@ -102,10 +102,7 @@
 //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?????