projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19975-oom-resubmit' refs #19975
[arvados.git]
/
sdk
/
cwl
/
arvados_cwl
/
perf.py
diff --git
a/sdk/cwl/arvados_cwl/perf.py
b/sdk/cwl/arvados_cwl/perf.py
index 64fda59aa046705f5e08f1cd152c7d479849971e..cc3ea969df99cb000119cc60ffd5c29c28656d01 100644
(file)
--- a/
sdk/cwl/arvados_cwl/perf.py
+++ b/
sdk/cwl/arvados_cwl/perf.py
@@
-1,3
+1,9
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+from builtins import object
+
import time
import uuid
import time
import uuid
@@
-10,6
+16,6
@@
class Perf(object):
self.time = time.time()
self.logger.debug("ENTER %s %s", self.name, self.time)
self.time = time.time()
self.logger.debug("ENTER %s %s", self.name, self.time)
- def __exit__(self, exc_type
, exc_value, traceback
):
+ def __exit__(self, exc_type
=None, exc_value=None, traceback=None
):
now = time.time()
self.logger.debug("EXIT %s %s %s", self.name, now, now - self.time)
now = time.time()
self.logger.debug("EXIT %s %s %s", self.name, now, now - self.time)