JULEA
Macros | Typedefs | Enumerations | Functions
jtrace.h File Reference
#include <glib.h>

Go to the source code of this file.

Macros

#define J_TRACE(name, ...)   g_autoptr(JTrace) G_PASTE(j_trace, __LINE__) G_GNUC_UNUSED = NULL
 
#define J_TRACE_FUNCTION(...)   g_autoptr(JTrace) G_PASTE(j_trace_function, __LINE__) G_GNUC_UNUSED = NULL
 

Typedefs

typedef enum JTraceFileOperation JTraceFileOperation
 
typedef struct JTrace JTrace
 

Enumerations

enum  JTraceFileOperation {
  J_TRACE_FILE_CLOSE , J_TRACE_FILE_CREATE , J_TRACE_FILE_DELETE , J_TRACE_FILE_OPEN ,
  J_TRACE_FILE_READ , J_TRACE_FILE_SEEK , J_TRACE_FILE_STATUS , J_TRACE_FILE_SYNC ,
  J_TRACE_FILE_WRITE
}
 

Functions

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)