]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_energy_management_types.h
Added hard disk virtual resources and contracts
[frescor/frsh-include.git] / frsh_energy_management_types.h
index 9277c5ff882d5ec87d65b5be48bfbba652e31153..63e147d3b1a69cc217971da63d3dc80d951a83e1 100644 (file)
@@ -91,8 +91,7 @@
  * 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
@@ -102,8 +101,7 @@ typedef enum _frsh_power_level_t
 /**
  * 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;
@@ -111,8 +109,7 @@ typedef struct _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;