Vuo
1.2.3
|
VuoLog implementation.
Classes | |
struct | VuoCrashReport_infoType |
Data to be inserted into OS X crash reports. More... | |
Macros | |
#define | __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 |
Avoid conflict between Cocoa and LLVM headers. | |
#define | VuoCrashReport_alignment __attribute__((aligned(8))) |
Align on 8-byte boundaries. | |
Functions | |
double | VuoLogGetTime (void) |
Returns the number of seconds (including fractional seconds) since an arbitrary start time. | |
static void | __attribute__ ((constructor)) VuoLog_init(void) |
Stores the time at which this module was loaded, for use by VuoLogGetElapsedTime(). | |
void | VuoLog_recordTime (const char *name, double time) |
Adds time to the specified profile name . | |
void | __attribute__ ((destructor)) VuoLog_dumpProfile(void) |
Outputs all time profiles. | |
double | VuoLogGetElapsedTime (void) |
Returns the number of seconds (including fractional seconds) since this module was loaded. | |
VuoCrashReport_infoType VuoCrashReport | __attribute__ ((section("__DATA,__crash_info"))) |
Data to be inserted into OS X crash reports. | |
void | VuoLog (const char *file, const unsigned int line, const char *function, const char *format,...) |
Outputs a message to the system log and to stderr . | |
bool | VuoIsDebugEnabled (void) |
Returns true if debug mode is enabled. | |
char * | VuoLog_copyCFDescription (const void *variable) |
Returns a C string description of variable , a reference to a CoreFoundation object. | |
void | VuoLog_backtrace (void) |
Prints the stack backtrace to stderr. | |
Variables | |
double | VuoLogStartTime |
The time when this module was loaded. | |
const int | VuoLogHistoryItems = 20 |
How many VLog messages to include in crash reports. | |
char * | VuoLogHistory [VuoLogHistoryItems] |
VLog messages to include in crash reports. | |
dispatch_queue_t | VuoLogHistoryQueue |
Serializes access to VuoLogHistory. | |
struct VuoCrashReport_infoType |
#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 |
Avoid conflict between Cocoa and LLVM headers.
#define VuoCrashReport_alignment __attribute__((aligned(8))) |
Align on 8-byte boundaries.
|
static |
Stores the time at which this module was loaded, for use by VuoLogGetElapsedTime().
void __attribute__ | ( | (destructor) | ) |
Outputs all time profiles.
VuoCrashReport_infoType VuoCrashReport __attribute__ | ( | (section("__DATA,__crash_info")) | ) |
Data to be inserted into OS X crash reports.
char* VuoLogHistory[VuoLogHistoryItems] |
VLog messages to include in crash reports.
const int VuoLogHistoryItems = 20 |
How many VLog messages to include in crash reports.
dispatch_queue_t VuoLogHistoryQueue |
Serializes access to VuoLogHistory.
double VuoLogStartTime |
The time when this module was loaded.