diff --git a/scripts/stepstats.py b/scripts/stepstats.py index 19baf8a3..1d77ce0e 100755 --- a/scripts/stepstats.py +++ b/scripts/stepstats.py @@ -32,8 +32,8 @@ def main(): so[2] += 1 so[{'0': 3, '1': 4}[so[1]]] += int(args['count']) for oid, so in sorted([(int(i[0]), i[1]) for i in steppers.items()]): - print "oid:%3d dir_cmds:%6d queue_cmds:%7d +:%8d -:%8d =:%8d" % ( - oid, so[0], so[2], so[3], so[4], so[3]-so[4]) + print "oid:%3d dir_cmds:%6d queue_cmds:%7d (%8d -%8d = %8d)" % ( + oid, so[0], so[2], so[4], so[3], so[4]-so[3]) if __name__ == '__main__': main()