Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
CPU can be created and used even though failures are not handled yet. SURF
[simgrid.git] / src / surf / cpu_private.h
1 /* Authors: Arnaud Legrand                                                  */
2
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. */
5
6 #ifndef _SURF_CPU_PRIVATE_H
7 #define _SURF_CPU_PRIVATE_H
8
9 #include "surf/surf_private.h"
10
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;
15
16 typedef struct cpu {
17   const char *name;
18   xbt_maxmin_float_t power_scale;
19   xbt_maxmin_float_t current_power;
20   tmgr_trace_t power_trace;
21   e_surf_action_state_t current_state;
22   tmgr_trace_t state_trace;
23   lmm_constraint_t constraint;
24 } s_cpu_t, *cpu_t;
25
26
27 #endif                          /* _SURF_SURF_PRIVATE_H */