Merge branch '18078-reacquire-fuse-lock' into main refs #18078
[arvados.git] / services / fuse / tests / prof.py
index 49b9f24be9414d00ba702b4f9791619cfd3bce7b..f9ce1881de3a70aa578e70f36b3bd5c50c00990d 100644 (file)
@@ -1,3 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+from __future__ import print_function
+from builtins import object
 import time
 
 class CountTime(object):
@@ -13,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))