1 /* Authors: Arnaud Legrand */
3 /* This program is free software; you can redistribute it and/or modify it
4 under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef _SURF_CPU_PRIVATE_H
7 #define _SURF_CPU_PRIVATE_H
9 #include "surf_private.h"
11 typedef struct surf_action_cpu {
12 s_surf_action_t generic_action;
13 lmm_variable_t variable;
14 } s_surf_action_cpu_t, *surf_action_cpu_t;
17 surf_resource_t resource; /* Any such object, added in a trace
18 should start by this field!!! */
20 xbt_maxmin_float_t power_scale;
21 xbt_maxmin_float_t current_power;
22 /* tmgr_trace_t power_trace; */
23 tmgr_trace_event_t power_event;
24 e_surf_cpu_state_t current_state;
25 /* tmgr_trace_t state_trace; */
26 tmgr_trace_event_t state_event;
27 lmm_constraint_t constraint;
30 #endif /* _SURF_CPU_PRIVATE_H */