* Here we define the different power levels. They will be
* used as index to the budget arrays in energy management.
**/
-typedef enum _frsh_power_level_t
-{
+typedef enum {
FRSH_PLT_HIGH = 0,
FRSH_PLT_MEDIUM = 1,
FRSH_PLT_LOW = 2
/**
* Here we define a capacity specification for all power levels.
**/
-typedef struct _frsh_utilization_line_pow_t
-{
+typedef struct {
struct timespec budget[3];
struct timespec period;
} frsh_utilization_line_pow_t;
/**
* Here we define the utilization set for different power levels
**/
-typedef struct _frsh_utilization_set_pow_t
-{
+typedef struct {
int size;
frsh_utilization_line_pow_t utilizations[FRSH_MAX_N_UTILIZATION_VALUES];
} frsh_utilization_set_pow_t;