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
snake_case and cleanup some more methods of s4u::Engine
[simgrid.git]
/
examples
/
s4u
/
exec-ptask
/
s4u-exec-ptask.cpp
diff --git
a/examples/s4u/exec-ptask/s4u-exec-ptask.cpp
b/examples/s4u/exec-ptask/s4u-exec-ptask.cpp
index
37fe2e2
..
d2ffff9
100644
(file)
--- a/
examples/s4u/exec-ptask/s4u-exec-ptask.cpp
+++ b/
examples/s4u/exec-ptask/s4u-exec-ptask.cpp
@@
-28,7
+28,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_energyptask, "Messages specific for this s4u ex
static void runner()
{
/* Retrieve the list of all hosts as an array of hosts */
static void runner()
{
/* Retrieve the list of all hosts as an array of hosts */
- std::vector<simgrid::s4u::Host*> hosts = simgrid::s4u::Engine::get
I
nstance()->get_all_hosts();
+ std::vector<simgrid::s4u::Host*> hosts = simgrid::s4u::Engine::get
_i
nstance()->get_all_hosts();
int hosts_count = hosts.size();
XBT_INFO("First, build a classical parallel task, with 1 Gflop to execute on each node, "
int hosts_count = hosts.size();
XBT_INFO("First, build a classical parallel task, with 1 Gflop to execute on each node, "