smplock01: Fix fairness plot script

This commit is contained in:
Sebastian Huber
2016-12-05 14:47:19 +01:00
parent b07e642a2b
commit 38bc13f809

View File

@@ -48,7 +48,7 @@ try:
except: except:
pass pass
x = range(1, len(ticket) + 1) x = range(2, len(ticket) + 2)
plt.yscale('log') plt.yscale('log')
plt.plot(x, ticket, label = 'Ticket Lock', marker = 'o') plt.plot(x, ticket, label = 'Ticket Lock', marker = 'o')
plt.plot(x, mcs, label = 'MCS Lock', marker = 'o') plt.plot(x, mcs, label = 'MCS Lock', marker = 'o')