litl 0.1.9
Loading...
Searching...
No Matches
Functions
Functions for Reading Events

Functions

void litl_read_reset_process (litl_read_process_t *process)
 Resets the trace pointer.
 
litl_read_event_tlitl_read_next_process_event (litl_read_trace_t *trace, litl_read_process_t *process)
 Reads the next event from a trace.
 
litl_read_event_tlitl_read_next_thread_event (litl_read_trace_t *trace, litl_read_process_t *process, litl_read_thread_t *thread)
 Reads the next event from a trace.
 
litl_read_event_tlitl_read_next_event (litl_read_trace_t *trace)
 Reads the next event from a trace file.
 
void litl_read_finalize_trace (litl_read_trace_t *trace)
 Closes the trace and frees the allocated memory.
 

Detailed Description

Function Documentation

◆ litl_read_finalize_trace()

void litl_read_finalize_trace ( litl_read_trace_t trace)

Closes the trace and frees the allocated memory.

Parameters
traceA pointer to the trace object

Definition at line 451 of file litl_read.c.

◆ litl_read_next_event()

litl_read_event_t * litl_read_next_event ( litl_read_trace_t trace)

Reads the next event from a trace file.

Parameters
traceA pointer to the trace object

Definition at line 432 of file litl_read.c.

◆ litl_read_next_process_event()

litl_read_event_t * litl_read_next_process_event ( litl_read_trace_t trace,
litl_read_process_t process 
)

Reads the next event from a trace.

Parameters
traceA pointer to the trace object
processA pointer to the process object

Definition at line 393 of file litl_read.c.

◆ litl_read_next_thread_event()

litl_read_event_t * litl_read_next_thread_event ( litl_read_trace_t trace,
litl_read_process_t process,
litl_read_thread_t thread 
)

Reads the next event from a trace.

Parameters
traceA pointer to the trace object
processA pointer to the process object
threadA pointer to the thread object

Definition at line 383 of file litl_read.c.

◆ litl_read_reset_process()

void litl_read_reset_process ( litl_read_process_t process)

Resets the trace pointer.

Parameters
processA pointer to the process object

Definition at line 296 of file litl_read.c.