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
Implement a generic resource; use it as ancestor to specific ones
[simgrid.git]
/
src
/
surf
/
cpu_private.h
diff --git
a/src/surf/cpu_private.h
b/src/surf/cpu_private.h
index
bd5c618
..
125ba40
100644
(file)
--- a/
src/surf/cpu_private.h
+++ b/
src/surf/cpu_private.h
@@
-18,8
+18,7
@@
typedef struct surf_action_cpu_Cas01 {
} s_surf_action_cpu_Cas01_t, *surf_action_cpu_Cas01_t;
typedef struct cpu_Cas01 {
} s_surf_action_cpu_Cas01_t, *surf_action_cpu_Cas01_t;
typedef struct cpu_Cas01 {
- surf_model_t model; /* Any such object, added in a trace
- should start by this field!!! */
+ s_surf_resource_t generic_resource;
char *name;
double power_scale;
double power_current;
char *name;
double power_scale;
double power_current;