litl
0.1.1
|
Data Structures | |
struct | litl_general_header_t |
A general data structure that corresponds to the header of a trace file. More... | |
struct | litl_process_header_t |
A general data structure that corresponds to the header of a trace file. More... | |
struct | litl_thread_pair_t |
A data structure for pairs (tid, offset) stored in the trace header. More... | |
struct | litl_trace_triples_t |
A data structure for triples (nb_processes, position, offset) More... | |
struct | litl_t |
A general structure of LiTL event type. More... | |
Macros | |
#define | CUR_TID syscall(SYS_gettid) |
A current thread ID. More... | |
#define | LITL_OFFSET_CODE 13 |
Defines the code of an event of type offset. More... | |
#define | LITL_MAX_PARAMS 10 |
Defines the maximum number of parameters. More... | |
#define | LITL_MAX_DATA (LITL_MAX_PARAMS * sizeof(litl_param_t)) |
Defines the "maximum" size of raw data. More... | |
#define | NBTHREADS 32 |
Defines the maximum number of threads (pairs of tid and offset) stored in one data slot. More... | |
Typedefs | |
typedef uint64_t | litl_tid_t |
A data type for storing thread IDs. More... | |
typedef uint64_t | litl_time_t |
A data type for storing time stamps. More... | |
typedef uint64_t | litl_trace_size_t |
A data type for storing traces sizes. More... | |
typedef uint64_t | litl_param_t |
A data type for the non-optimized storage of parameters. More... | |
typedef uint64_t | litl_offset_t |
A data type for storing offsets. More... | |
typedef uint8_t * | litl_buffer_t |
A data type for storing sets of events. More... | |
typedef uint32_t | litl_code_t |
A data type for storing events codes. More... | |
typedef uint32_t | litl_size_t |
An auxiliary data type for storing data. More... | |
typedef uint16_t | litl_med_size_t |
An auxiliary data type for the optimized storage of data. More... | |
typedef uint8_t | litl_data_t |
A data type for the optimized storage of parameters. More... | |
Enumerations | |
enum | litl_type_t { LITL_TYPE_REGULAR, LITL_TYPE_RAW, LITL_TYPE_PACKED, LITL_TYPE_OFFSET } |
The enumeration of event types. More... | |
#define CUR_TID syscall(SYS_gettid) |
A current thread ID.
Definition at line 66 of file litl_types.h.
#define LITL_MAX_DATA (LITL_MAX_PARAMS * sizeof(litl_param_t)) |
Defines the "maximum" size of raw data.
Definition at line 172 of file litl_types.h.
#define LITL_MAX_PARAMS 10 |
Defines the maximum number of parameters.
Definition at line 167 of file litl_types.h.
#define LITL_OFFSET_CODE 13 |
Defines the code of an event of type offset.
Definition at line 161 of file litl_types.h.
#define NBTHREADS 32 |
Defines the maximum number of threads (pairs of tid and offset) stored in one data slot.
Definition at line 240 of file litl_types.h.
typedef uint8_t* litl_buffer_t |
A data type for storing sets of events.
Definition at line 133 of file litl_types.h.
typedef uint32_t litl_code_t |
A data type for storing events codes.
Definition at line 140 of file litl_types.h.
typedef uint8_t litl_data_t |
A data type for the optimized storage of parameters.
Definition at line 155 of file litl_types.h.
typedef uint16_t litl_med_size_t |
An auxiliary data type for the optimized storage of data.
Definition at line 150 of file litl_types.h.
typedef uint64_t litl_offset_t |
A data type for storing offsets.
Definition at line 127 of file litl_types.h.
typedef uint64_t litl_param_t |
A data type for the non-optimized storage of parameters.
Definition at line 122 of file litl_types.h.
typedef uint32_t litl_size_t |
An auxiliary data type for storing data.
Definition at line 145 of file litl_types.h.
typedef uint64_t litl_tid_t |
A data type for storing thread IDs.
Definition at line 107 of file litl_types.h.
typedef uint64_t litl_time_t |
A data type for storing time stamps.
Definition at line 112 of file litl_types.h.
typedef uint64_t litl_trace_size_t |
A data type for storing traces sizes.
Definition at line 117 of file litl_types.h.
enum litl_type_t |
The enumeration of event types.
Enumerator | |
---|---|
LITL_TYPE_REGULAR |
Regular |
LITL_TYPE_RAW |
Raw |
LITL_TYPE_PACKED |
Packed |
LITL_TYPE_OFFSET |
Offset |
Definition at line 178 of file litl_types.h.