From: Christian Heinrich Date: Tue, 13 Feb 2018 16:30:28 +0000 (+0100) Subject: [DVFS] Make debug statement more verbose X-Git-Tag: v3.19~206 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8baff708e757b3558ed33c6f0f83d20f868751f5 [DVFS] Make debug statement more verbose --- diff --git a/src/surf/plugins/host_dvfs.cpp b/src/surf/plugins/host_dvfs.cpp index 7f20af00ae..6289449488 100644 --- a/src/surf/plugins/host_dvfs.cpp +++ b/src/surf/plugins/host_dvfs.cpp @@ -88,7 +88,7 @@ public: // FIXME I don't like that we multiply with the getCoreCount() just here... if (load*host->getCoreCount() > freq_up_threshold) { host->setPstate(0); /* Run at max. performance! */ - XBT_INFO("Changed to pstate %f", 0.0); + XBT_INFO("Load: %f > threshold: %f --> changed to pstate %i", load * host->getCoreCount(), freq_up_threshold, 0); } else { /* The actual implementation uses a formula here: (See Kernel file cpufreq_ondemand.c:158) *