]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
host allocation: Pass a debug function in find_recent_duration
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 4 Oct 2016 17:23:23 +0000 (17:23 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 10 Oct 2016 11:13:01 +0000 (12:13 +0100)
We provide only a commented-out debug print.  This produces more
copius output than is desirable even to a compressed debug log.

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-hosts-allocate-Executive

index 7c328472feb7bddef98be802f4c8b9f4af48e7ef..9d8fbfdf45904e522e9f0aff119540f8703e0fac 100755 (executable)
@@ -487,7 +487,10 @@ sub find_recent_duration ($$) {
     ($candrow->{Duration},
      $candrow->{MostRecentStarted},
      $candrow->{MostRecentStatus}) =
-        $duration_estimator->($job, $hid->{Ident}, $candrow->{resname});
+        $duration_estimator->($job, $hid->{Ident}, $candrow->{resname},
+                              sub {
+#                                  print DEBUG "$dbg DUR-EST @_\n";
+                              });
 }