traceservices/tracefw/ost_trace_api/unit_test/te_ost/inc/te_tracer.h
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // UTrace Unit Tests.
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @file te_tracer.h
       
    21  @internalTechnology
       
    22  @prototype
       
    23 */
       
    24 
       
    25 #ifndef TE_TRACER_H_
       
    26 #define TE_TRACER_H_
       
    27 
       
    28 #include "te_tracerecord.h"
       
    29 
       
    30 
       
    31 class TTraceTester
       
    32 {
       
    33 public:
       
    34 	//Send a trace as specified by the aTraceData.iApiUsed
       
    35 	static TInt SendTraceL(TTraceConfigs& aTraceData);
       
    36 	static TInt TimeTraceL(TTraceConfigs& aTraceData, TUint32& aTime, TUint32& aCount);
       
    37 private:
       
    38 	static TInt TimeTraceCall(TTraceConfigs& aTraceData, TUint32& aTime, TUint32& aCount);
       
    39 };
       
    40 
       
    41 #endif /*TE_TRACER_H_*/