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
refine code around model types and objects
[simgrid.git]
/
src
/
surf
/
cpu_cas01.c
diff --git
a/src/surf/cpu_cas01.c
b/src/surf/cpu_cas01.c
index
bc48ba5
..
0a98541
100644
(file)
--- a/
src/surf/cpu_cas01.c
+++ b/
src/surf/cpu_cas01.c
@@
-363,6
+363,7
@@
static void surf_cpu_model_init_internal(surf_model_t cpu_model)
xbt_swag_new(xbt_swag_offset(action, state_hookup));
cpu_model->name = "cpu";
+ cpu_model->type = SURF_MODEL_TYPE_CPU;
cpu_model->action_unref = surf_action_unref;
cpu_model->action_cancel = surf_action_cancel;