XDAIS  dais-x04
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros | Typedefs
trace.h File Reference

Detailed Description

Provides producers of content the ability to, in a runtime-independant way, add tracing.

#include <ti/xdais/xdas.h>
#include <ti/xdais/ialg.h>
Include dependency graph for trace.h:

Go to the source code of this file.

Macros

#define TRACE_ENTER   ((UInt8)0x01)
 Class Ids for tracing at different levels within functions.
#define TRACE_1CLASS   ((UInt8)0x02)
#define TRACE_2CLASS   ((UInt8)0x04)
#define TRACE_3CLASS   ((UInt8)0x08)
#define TRACE_4CLASS   ((UInt8)0x10)
#define TRACE_5CLASS   ((UInt8)0x20)
 User classId 5. By convention, used for benchmarking related tracing.
#define TRACE_6CLASS   ((UInt8)0x40)
 User classId 6. By convention, used for internal warning related tracing.
#define TRACE_7CLASS   ((UInt8)0x80)
 User classId 7. By convention, used for internal error related tracing.

Typedefs

typedef XDAS_Int32(* XDAIS_TRACE_AssertFxn )(IALG_Handle alg, XDAS_Int32 classId, String format, String arg1, XDAS_Int32 arg2)
 Function prototype for the Assert function.
typedef XDAS_Int32(* XDAIS_TRACE_PrintFxn )(IALG_Handle alg, XDAS_Int32 classId, String format,...)
 Function prototype for the Trace print function.
Copyright 2013, Texas Instruments Incorporated