Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[DVFS] Make debug statement more verbose
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 13 Feb 2018 16:30:28 +0000 (17:30 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 13 Feb 2018 18:53:17 +0000 (19:53 +0100)
src/surf/plugins/host_dvfs.cpp

index 7f20af0..6289449 100644 (file)
@@ -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)
        *