traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perfplugin.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
    71 
    71 
    72 
    72 
    73 CPluginTests::CPluginTests()
    73 CPluginTests::CPluginTests()
    74 	{
    74 	{
    75 	/*Constructor*/
    75 	/*Constructor*/
    76 
    76 	iPluginTestResult = new(ELeave) CPluginTestResult;
    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 	if (iPluginTestResult == NULL)
   105 
   106         {
       
   107         iPluginTestResult = new(ELeave) CPluginTestResult;   
       
   108         }
       
   109 
   106 
   110 	TInt numberOfTraces=aPluginRunConfig.iDataSize/16; //update magic number to a size of (trace)/bytes
   107 	TInt numberOfTraces=aPluginRunConfig.iDataSize/16; //update magic number to a size of (trace)/bytes
   111 	//do a baseline to remove loop effects for throughput tests?????
   108 	//do a baseline to remove loop effects for throughput tests?????
   112 
   109 
   113 	//removed logging of timestamp because of a warning...
   110 	//removed logging of timestamp because of a warning...