litl 0.1.9
Loading...
Searching...
No Matches
litl_tools.h
Go to the documentation of this file.
1/* -*- c-file-style: "GNU" -*- */
2/*
3 * Copyright © Télécom SudParis.
4 * See COPYING in top-level directory.
5 */
6
7#ifndef LITL_TOOLS_H_
8#define LITL_TOOLS_H_
9
20#include<stdint.h>
21#include "litl_types.h"
22
35
45
46
55
56#endif /* LITL_TOOLS_H_ */
litl_size_t __litl_get_event_size(litl_type_t type, int param_size)
Returns the size of an event (in Bytes) depending on the number or size of its parameters.
Definition litl_tools.c:22
litl_size_t __litl_get_reg_event_size(litl_data_t nb_params)
Returns the size of a regular event (in Bytes) depending on the number of its parameters.
Definition litl_tools.c:18
litl_size_t __litl_get_gen_event_size(litl_t *p_evt)
Returns the size of a general event (in Bytes) depending on its type and the number of its parameters...
Definition litl_tools.c:42
litl_type_t
The enumeration of event types.
Definition litl_types.h:180
uint8_t litl_data_t
A data type for the optimized storage of parameters.
Definition litl_types.h:157
uint32_t litl_size_t
An auxiliary data type for storing data.
Definition litl_types.h:147
litl_types Provides a set of data structures for recording and reading events as well as merging and ...
A general structure of LiTL event type.
Definition litl_types.h:192