FPLBase
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
systrace.h File Reference

Functions for creating systrace log events, for Android. More...

Go to the source code of this file.

Detailed Description

Functions for creating systrace log events, for Android.

To enable, #define FPLBASE_ENABLE_SYSTRACE 1.

Macros

#define MAX_SYSTRACE_LEN   256
 

Functions

void SystraceInit ()
 Initializes the settings for systrace. More...
 
void SystraceBegin (const char *name)
 Start a block, with the supplied name. More...
 
void SystraceEnd ()
 Ends the most recently begun block.
 
void SystraceCounter (const char *name, const int value)
 Logs a value. More...
 
void SystraceAsyncBegin (const char *name, const int32_t cookie)
 Begins an asynchronous block. More...
 
void SystraceAsyncEnd (const char *name, const int32_t cookie)
 Ends an asynchronous block. More...
 

Variables

int trace_marker = -1