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
Adding workstation : a single CPU and a network card...
[simgrid.git]
/
src
/
surf
/
cpu.c
diff --git
a/src/surf/cpu.c
b/src/surf/cpu.c
index
0fa4303
..
64649ef
100644
(file)
--- a/
src/surf/cpu.c
+++ b/
src/surf/cpu.c
@@
-302,7
+302,7
@@
static surf_action_t execute(void *cpu, xbt_maxmin_float_t size)
static e_surf_cpu_state_t get_state(void *cpu)
{
- return
SURF_CPU_OFF
;
+ return
((cpu_t) cpu)->state_current
;
}
static void finalize(void)