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
Concatenate nested namespaces (sonar).
[simgrid.git]
/
src
/
surf
/
host_clm03.cpp
diff --git
a/src/surf/host_clm03.cpp
b/src/surf/host_clm03.cpp
index
87e1ec3
..
0005ed4
100644
(file)
--- a/
src/surf/host_clm03.cpp
+++ b/
src/surf/host_clm03.cpp
@@
-33,9
+33,7
@@
void surf_host_model_init_compound()
engine->get_netzone_root()->set_host_model(host_model);
}
engine->get_netzone_root()->set_host_model(host_model);
}
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
double HostCLM03Model::next_occurring_event(double /*now*/)
{
double HostCLM03Model::next_occurring_event(double /*now*/)
{
@@
-102,6
+100,4
@@
Action* HostCLM03Model::execute_thread(const s4u::Host* host, double flops_amoun
return cpu->execution_start(thread_count * flops_amount, thread_count, -1);
}
return cpu->execution_start(thread_count * flops_amount, thread_count, -1);
}
-} // namespace resource
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::resource