diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-08 03:16:18 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-08 03:16:18 -0400 |
commit | 9abd16fcbc23306e542aaa5cdc2ea8e9847dbfd7 (patch) | |
tree | e3515203616179e9f81392e3ae6017fe91be70b9 /series-ping.py | |
parent | 4dec62b52e9ee5982fc3587ea6c8eefc21d76417 (diff) |
add ability to trigger a sync and measure reactor responsiveness
this is bad news though: we're blocking the reactor with the current
implementation.
what's the culprit?? stay tuned...
Diffstat (limited to 'series-ping.py')
-rw-r--r-- | series-ping.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/series-ping.py b/series-ping.py new file mode 100644 index 0000000..077c5ef --- /dev/null +++ b/series-ping.py @@ -0,0 +1,5 @@ +import commands +for i in range(100): + value = commands.getoutput('python get_ping_rate.py') + print "Step", i, "...", value + commands.getoutput('echo %s\t%s >> series.log' % (i, value)) |