traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_common/src/te_instrumentationpoints_disabled.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
    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 #include "te_ctor.h"
    35 
    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 = EFalse;
   664         logged = ETrue;
   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     
       
   710     case EOstTraceFunctionExit0:
   690     case EOstTraceFunctionExit0:
   711         {
   691         {
   712         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   692         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   713         OstTraceFunctionExit0( TEST_OstTraceFunctionExit0 );
   693         OstTraceFunctionExit0( TEST_OstTraceFunctionExit0 );
   714         logged = EFalse;
   694         logged = EFalse;
   768     
   748     
   769   case EOstTraceState0:
   749   case EOstTraceState0:
   770         {
   750         {
   771         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   751         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   772         OstTraceState0( TEST_OSTTRACESTATE0, "Test State Name", "Test State Value" );
   752         OstTraceState0( TEST_OSTTRACESTATE0, "Test State Name", "Test State Value" );
   773         logged = EFalse;
   753         logged = ETrue;
   774         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   754         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   775         }
   755         }
   776     break;
   756     break;
   777 	
   757 	
   778     case EOstTraceState1:
   758     case EOstTraceState1:
   779         {
   759         {
   780         //const TAny* y = &KData1;
   760         //const TAny* y = &KData1;
   781         
   761         
   782         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   762         __MARK_INITIAL_STACK(aApiRunConfig.iDoStack, stackbase, before);
   783         OstTraceState1( TEST_OSTTRACESTATE1,  "Test State Name", "Test State Value", KData1 );
   763         OstTraceState1( TEST_OSTTRACESTATE1,  "Test State Name", "Test State Value", KData1 );
   784         logged = EFalse;
   764         logged = ETrue;
   785         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   765         __RETURN_STACK_SIZE(aApiRunConfig.iDoStack, stackbase, before,  aApiRunResults.iApiStackUsage); 
   786 
   766 
   787         }
   767         }
   788     break;
   768     break;
   789     
   769