Module: check_mk
Branch: master
Commit: 5952a3ac69a6b3b32eaf2d9801739450f63945fe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5952a3ac69a6b3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 27 12:14:06 2018 +0200
Add missing initial definitions of module globals
Change-Id: I8057c46f6b231767fbf78517eba5508e64def2a6
---
cmk/cpu_tracking.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cmk/cpu_tracking.py b/cmk/cpu_tracking.py
index 102445b..d09de20 100644
--- a/cmk/cpu_tracking.py
+++ b/cmk/cpu_tracking.py
@@ -38,6 +38,9 @@ except NameError:
# TODO: This should be rewritten to a context manager object. See cmk.profile for
# an example how it could look like.
+times = {}
+last_time_snapshot = []
+phase_stack = []
current_phase = None
def start(initial_phase):