traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_common/src/te_instrumentationpoints_disabled.cpp
branchRCL_3
changeset 23 26645d81f48d
parent 0 08ec8eefde2f
child 24 cc28652e0254
equal deleted inserted replaced
21:28839de615b4 23:26645d81f48d
    30 #endif
    30 #endif
    31 
    31 
    32 #include "te_perfstackinfo.h"
    32 #include "te_perfstackinfo.h"
    33 #include "te_dataparameters.h"
    33 #include "te_dataparameters.h"
    34 #include "sanity/te_perfsanityhelpers.h"
    34 #include "sanity/te_perfsanityhelpers.h"
    35 
    35 #include "te_ctor.h"
    36 
    36 
    37 
    37 
    38 
    38 
    39 /*dummy function for Test function - used to calibrate and debug the timer class with the Lauterbach*/
    39 /*dummy function for Test function - used to calibrate and debug the timer class with the Lauterbach*/
    40 void tracefoo()
    40 void tracefoo()
   659     
   659     
   660     case EOstTraceFunctionEntry0:
   660     case EOstTraceFunctionEntry0:
   661         {
   661         {
   662         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   662         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   663         OstTraceFunctionEntry0( TEST_OSTTraceFunctionalityEntry0 );
   663         OstTraceFunctionEntry0( TEST_OSTTraceFunctionalityEntry0 );
   664         logged = ETrue;
   664         logged = EFalse;
   665         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   665         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   666         }
   666         }
   667     break;
   667     break;
   668     
   668     
   669     case EOstTraceFunctionEntry1:
   669     case EOstTraceFunctionEntry1:
   685         logged = EFalse;
   685         logged = EFalse;
   686         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   686         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   687         }
   687         }
   688     break;
   688     break;
   689     
   689     
       
   690     case EOstTraceFunctionEntryExtCtorInitList:
       
   691         {        
       
   692         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
       
   693         TTestCtor       testCtorA( 1, 2 );
       
   694         logged = EFalse;
       
   695         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
       
   696 
       
   697         }
       
   698     break;
       
   699     
       
   700     case EOstTraceFunctionEntryExtCtorNoInitList:
       
   701         {        
       
   702         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
       
   703         TTestCtor       testCtorB( 3 );
       
   704         logged = EFalse;
       
   705         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
       
   706 
       
   707         }
       
   708     break;
       
   709     
   690     case EOstTraceFunctionExit0:
   710     case EOstTraceFunctionExit0:
   691         {
   711         {
   692         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   712         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   693         OstTraceFunctionExit0( TEST_OstTraceFunctionExit0 );
   713         OstTraceFunctionExit0( TEST_OstTraceFunctionExit0 );
   694         logged = EFalse;
   714         logged = EFalse;
   748     
   768     
   749   case EOstTraceState0:
   769   case EOstTraceState0:
   750         {
   770         {
   751         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   771         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   752         OstTraceState0( TEST_OSTTRACESTATE0, "Test State Name", "Test State Value" );
   772         OstTraceState0( TEST_OSTTRACESTATE0, "Test State Name", "Test State Value" );
   753         logged = ETrue;
   773         logged = EFalse;
   754         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   774         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   755         }
   775         }
   756     break;
   776     break;
   757 	
   777 	
   758     case EOstTraceState1:
   778     case EOstTraceState1:
   759         {
   779         {
   760         //const TAny* y = &KData1;
   780         //const TAny* y = &KData1;
   761         
   781         
   762         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   782         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   763         OstTraceState1( TEST_OSTTRACESTATE1,  "Test State Name", "Test State Value", KData1 );
   783         OstTraceState1( TEST_OSTTRACESTATE1,  "Test State Name", "Test State Value", KData1 );
   764         logged = ETrue;
   784         logged = EFalse;
   765         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   785         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   766 
   786 
   767         }
   787         }
   768     break;
   788     break;
   769     
   789