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
further rework the config handling. Still much to do
[simgrid.git]
/
teshsuite
/
surf
/
surf_usage
/
surf_usage.cpp
diff --git
a/teshsuite/surf/surf_usage/surf_usage.cpp
b/teshsuite/surf/surf_usage/surf_usage.cpp
index
17c8002
..
3eeab96
100644
(file)
--- a/
teshsuite/surf/surf_usage/surf_usage.cpp
+++ b/
teshsuite/surf/surf_usage/surf_usage.cpp
@@
-38,8
+38,8
@@
int main(int argc, char **argv)
{
double now = -1.0;
surf_init(&argc, argv); /* Initialize some common structures */
- xbt_cfg_set_
parse(_sg_cfg_set, "cpu/model:
Cas01");
- xbt_cfg_set_
parse(_sg_cfg_set, "network/model:
CM02");
+ xbt_cfg_set_
string("cpu/model","
Cas01");
+ xbt_cfg_set_
string("network/model","
CM02");
xbt_assert(argc >1, "Usage : %s platform.txt\n", argv[0]);
parse_platform_file(argv[1]);