A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep documentation in sync with implementation
[simgrid.git]
/
src
/
surf
/
cpu_private.h
diff --git
a/src/surf/cpu_private.h
b/src/surf/cpu_private.h
index
a14ccb5
..
63017a4
100644
(file)
--- a/
src/surf/cpu_private.h
+++ b/
src/surf/cpu_private.h
@@
-11,13
+11,14
@@
#include "surf_private.h"
#include "xbt/dict.h"
#include "surf_private.h"
#include "xbt/dict.h"
-typedef struct surf_action_cpu {
+typedef struct surf_action_cpu
_Cas01
{
s_surf_action_t generic_action;
lmm_variable_t variable;
s_surf_action_t generic_action;
lmm_variable_t variable;
-} s_surf_action_cpu_t, *surf_action_cpu_t;
+ int suspended;
+} s_surf_action_cpu_Cas01_t, *surf_action_cpu_Cas01_t;
-typedef struct cpu {
- surf_
resource_t resource;
/* Any such object, added in a trace
+typedef struct cpu
_Cas01
{
+ surf_
model_t model;
/* Any such object, added in a trace
should start by this field!!! */
char *name;
double power_scale;
should start by this field!!! */
char *name;
double power_scale;
@@
-26,7
+27,9
@@
typedef struct cpu {
e_surf_cpu_state_t state_current;
tmgr_trace_event_t state_event;
lmm_constraint_t constraint;
e_surf_cpu_state_t state_current;
tmgr_trace_event_t state_event;
lmm_constraint_t constraint;
-} s_cpu_t, *cpu_t;
+ /*Handles the properties that can be added to cpu's*/
+ xbt_dict_t properties;
+} s_cpu_Cas01_t, *cpu_Cas01_t;
extern xbt_dict_t cpu_set;
extern xbt_dict_t cpu_set;