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
sed -i -e 's/\t/ /g' [sources] Please people, stop using tabs
[simgrid.git]
/
examples
/
msg
/
cloud
/
multicore.c
diff --git
a/examples/msg/cloud/multicore.c
b/examples/msg/cloud/multicore.c
index
8fb26bf
..
c6bd09f
100644
(file)
--- a/
examples/msg/cloud/multicore.c
+++ b/
examples/msg/cloud/multicore.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-201
4
. The SimGrid Team.
+/* Copyright (c) 2007-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-29,9
+29,9
@@
static int worker_main(int argc, char *argv[])
struct task_data {
struct task_data {
-
msg_task_t task;
-
double prev_computation_amount;
-
double prev_clock;
+ msg_task_t task;
+ double prev_computation_amount;
+ double prev_clock;
};
};
@@
-177,7
+177,7
@@
static void test_vm_pin(void)
msg_vm_t vm2 = MSG_vm_create_core(pm2, "VM2");
msg_vm_t vm3 = MSG_vm_create_core(pm2, "VM3");
msg_vm_t vm2 = MSG_vm_create_core(pm2, "VM2");
msg_vm_t vm3 = MSG_vm_create_core(pm2, "VM3");
- s_
ws
_params_t params;
+ s_
vm
_params_t params;
memset(¶ms, 0, sizeof(params));
params.ramsize = 1L * 1024 * 1024;
params.skip_stage1 = 1;
memset(¶ms, 0, sizeof(params));
params.ramsize = 1L * 1024 * 1024;
params.skip_stage1 = 1;