X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd96d5146134f3ff468a7835db49556c8e6225a5..fe9f13ea487593ec11c6af50d8150a6743c84114:/include/simgrid/plugins/energy.h diff --git a/include/simgrid/plugins/energy.h b/include/simgrid/plugins/energy.h index 67e5a260e4..041e4bd8c8 100644 --- a/include/simgrid/plugins/energy.h +++ b/include/simgrid/plugins/energy.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -26,8 +26,8 @@ XBT_PUBLIC int sg_link_energy_is_inited(); #define MSG_host_energy_plugin_init() sg_host_energy_plugin_init() #define MSG_host_get_consumed_energy(host) sg_host_get_consumed_energy(host) -#define MSG_host_get_wattmin_at(host,pstate) sg_host_get_wattmin_at(host,pstate) -#define MSG_host_get_wattmax_at(host,pstate) sg_host_get_wattmax_at(host,pstate) +#define MSG_host_get_wattmin_at(host, pstate) sg_host_get_wattmin_at((host), (pstate)) +#define MSG_host_get_wattmax_at(host, pstate) sg_host_get_wattmax_at((host), (pstate)) #define MSG_host_get_current_consumption(host) sg_host_get_current_consumption(host) SG_END_DECL()