18870: Need to declare NODES as array
[arvados.git] / services / fuse / tests / prof.py
index 021839c5b41253b507d5ced91d752311670737fb..f9ce1881de3a70aa578e70f36b3bd5c50c00990d 100644 (file)
@@ -2,6 +2,8 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
+from __future__ import print_function
+from builtins import object
 import time
 
 class CountTime(object):
@@ -17,5 +19,5 @@ class CountTime(object):
         sec = (time.time() - self.start)
         th = ""
         if self.size:
-            th = "throughput %s/sec" % (self.size / sec)
-        print "%s time %s micoseconds %s" % (self.tag, sec*1000000, th)
+            th = "throughput %s/sec" % (self.size // sec)
+        print("%s time %s micoseconds %s" % (self.tag, sec*1000000, th))