diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-28 14:11:38 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-28 14:11:38 +0200 |
commit | d98525920581e908604bedf91c50def0024e0b59 (patch) | |
tree | 93fc10b29a1092482a0a63380ce228a6852be124 /scripts | |
parent | 4761eed66e66b7227087095f41fbfa7d235f64c9 (diff) | |
download | linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.gz linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.bz2 linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.zip |
Add possibility of running step-by-step
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/loop.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/loop.py b/scripts/loop.py index 4f5cdf0..c5111bf 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -122,9 +122,11 @@ class mainThread(Thread): Thread.__init__(self, name=name) self.term = False def run(self): - while not self.term: + if conf.step_by_step: step() - + else: + while not self.term: + step() def loop_term(): global thr |