summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasufumi Ogawa <yasufum.o@gmail.com>2019-10-15 03:44:47 +0900
committerYasufumi Ogawa <yasufum.o@gmail.com>2019-11-04 22:39:01 +0900
commit550a452b9a4565db84cc87155a18ceca401e2de9 (patch)
tree91af9015b929a7fcf279611eb7b7499b92d4f87f
parent0696090699a84b7ce5e3c827365ba6ecad0e83ac (diff)
downloadspp-550a452b9a4565db84cc87155a18ceca401e2de9.zip
spp-550a452b9a4565db84cc87155a18ceca401e2de9.tar.gz
spp-550a452b9a4565db84cc87155a18ceca401e2de9.tar.xz
cli: output time to start spp_primary
This is a tiny update for displaying a time cost for launching spp_primary. Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
-rw-r--r--src/cli/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/shell.py b/src/cli/shell.py
index 7fda64d..2a28aa3 100644
--- a/src/cli/shell.py
+++ b/src/cli/shell.py
@@ -105,7 +105,7 @@ class Shell(cmd.Cmd, object):
time.sleep(self.WAIT_PRI_INTERVAL)
print('.', end='', flush=True)
cnt += 1
- print(' OK!')
+ print(' OK! ({}[sec])'.format(cnt * self.WAIT_PRI_INTERVAL))
def init_spp_procs(self):
"""Initialize delegators of SPP processes.