[rtems commit] smplock01: Fix fairness plot script

Sebastian Huber sebh at rtems.org
Mon Dec 5 13:47:51 UTC 2016


Module:    rtems
Branch:    master
Commit:    38bc13f809ed69e9db5f8b55a4388b37f4eaa24c
Changeset: http://git.rtems.org/rtems/commit/?id=38bc13f809ed69e9db5f8b55a4388b37f4eaa24c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Dec  5 14:47:19 2016 +0100

smplock01: Fix fairness plot script

---

 testsuites/smptests/smplock01/smplock01fair.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/smptests/smplock01/smplock01fair.py b/testsuites/smptests/smplock01/smplock01fair.py
index 23f85db..2041a51 100755
--- a/testsuites/smptests/smplock01/smplock01fair.py
+++ b/testsuites/smptests/smplock01/smplock01fair.py
@@ -48,7 +48,7 @@ try:
 except:
 	pass
 
-x = range(1, len(ticket) + 1)
+x = range(2, len(ticket) + 2)
 plt.yscale('log')
 plt.plot(x, ticket, label = 'Ticket Lock', marker = 'o')
 plt.plot(x, mcs, label = 'MCS Lock', marker = 'o')




More information about the vc mailing list