litl  0.1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
Initialization Functions

Functions

litl_read_trace_tlitl_read_open_trace (const char *filename)
 Opens a trace and reads the first portion of data (trace header) to the buffer. More...
 
void litl_read_init_processes (litl_read_trace_t *trace)
 Initializes the event reading structure. More...
 
litl_general_header_tlitl_read_get_trace_header (litl_read_trace_t *trace)
 Returns a pointer to the trace header. More...
 
litl_process_header_tlitl_read_get_process_header (litl_read_process_t *process)
 Returns a pointer to the process header. More...
 
void litl_read_set_buffer_size (litl_read_trace_t *trace, const litl_size_t buf_size)
 Sets the buffer size. More...
 
litl_size_t litl_read_get_buffer_size (litl_read_trace_t *trace)
 Returns the buffer size. More...
 

Detailed Description

Function Documentation

litl_size_t litl_read_get_buffer_size ( litl_read_trace_t trace)

Returns the buffer size.

Parameters
traceA pointer to the trace object
Returns
A buffer size (in Byte)

Definition at line 264 of file litl_read.c.

litl_process_header_t* litl_read_get_process_header ( litl_read_process_t process)

Returns a pointer to the process header.

Parameters
processA pointer to the process object
Returns
A pointer to the trace header

Definition at line 245 of file litl_read.c.

litl_general_header_t* litl_read_get_trace_header ( litl_read_trace_t trace)

Returns a pointer to the trace header.

Parameters
traceA pointer to the trace object
Returns
A pointer to the trace header

Definition at line 238 of file litl_read.c.

void litl_read_init_processes ( litl_read_trace_t trace)

Initializes the event reading structure.

Parameters
traceA pointer to the trace object

Definition at line 206 of file litl_read.c.

litl_read_trace_t* litl_read_open_trace ( const char *  filename)

Opens a trace and reads the first portion of data (trace header) to the buffer.

Parameters
filenameA filename
Returns
A pointer to the trace object. NULL in case of failure

Definition at line 187 of file litl_read.c.

void litl_read_set_buffer_size ( litl_read_trace_t trace,
const litl_size_t  buf_size 
)

Sets the buffer size.

Parameters
traceA pointer to the trace object
buf_sizeA buffer size (in Byte)

Definition at line 253 of file litl_read.c.