JULEA
Data Structures | Typedefs | Enumerations | Functions
jtrace.c File Reference
#include <julea-config.h>
#include <glib.h>
#include <glib/gprintf.h>
#include <jtrace.h>

Data Structures

struct  JTraceStack
 
struct  JTraceTime
 
struct  JTraceThread
 
struct  JTrace
 

Typedefs

typedef enum JTraceFlags JTraceFlags
 
typedef struct JTraceStack JTraceStack
 
typedef struct JTraceTime JTraceTime
 
typedef struct JTraceThread JTraceThread
 

Enumerations

enum  JTraceFlags { J_TRACE_OFF = 0 , J_TRACE_ECHO = 1 << 0 , J_TRACE_OTF = 1 << 1 , J_TRACE_SUMMARY = 1 << 2 }
 

Functions

 G_LOCK_DEFINE_STATIC (j_trace_echo)
 
 G_LOCK_DEFINE_STATIC (j_trace_summary)
 
void j_trace_init (gchar const *name)
 
void j_trace_fini (void)
 
JTracej_trace_enter (gchar const *name, gchar const *format,...) G_GNUC_PRINTF(2
 
JTrace void j_trace_leave (JTrace *trace)
 
void j_trace_file_begin (gchar const *path, JTraceFileOperation op)
 
void j_trace_file_end (gchar const *path, JTraceFileOperation op, guint64 length, guint64 offset)
 
void j_trace_counter (gchar const *name, guint64 counter_value)