From 8baff708e757b3558ed33c6f0f83d20f868751f5 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 13 Feb 2018 17:30:28 +0100 Subject: [PATCH 1/1] [DVFS] Make debug statement more verbose --- src/surf/plugins/host_dvfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) * -- 2.20.1