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
The examples must be readable. I'll shut off sonar on these issues
[simgrid.git]
/
examples
/
c
/
plugin-hostload
/
plugin-hostload.c
diff --git
a/examples/c/plugin-hostload/plugin-hostload.c
b/examples/c/plugin-hostload/plugin-hostload.c
index 18672ea441026119be8f59f3488d4444cfde4d25..f878f9f821a72e69bb6e4b9746d62ec1bae32eca 100644
(file)
--- a/
examples/c/plugin-hostload/plugin-hostload.c
+++ b/
examples/c/plugin-hostload/plugin-hostload.c
@@
-14,7
+14,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(hostload_test, "Messages specific for this example");
XBT_LOG_NEW_DEFAULT_CATEGORY(hostload_test, "Messages specific for this example");
-static void execute_load_test(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
+static void execute_load_test(
int argc,
char* argv[])
{
sg_host_t host = sg_host_by_name("MyHost1");
{
sg_host_t host = sg_host_by_name("MyHost1");
@@
-80,7
+80,7
@@
static void execute_load_test(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char
simgrid_get_clock() - start, sg_host_speed(host), sg_host_get_computed_flops(host));
}
simgrid_get_clock() - start, sg_host_speed(host), sg_host_get_computed_flops(host));
}
-static void change_speed(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED
char* argv[])
+static void change_speed(
int argc,
char* argv[])
{
sg_host_t host = sg_host_by_name("MyHost1");
sg_actor_sleep_for(10.5);
{
sg_host_t host = sg_host_by_name("MyHost1");
sg_actor_sleep_for(10.5);