You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the branch c-example-sleepingbarber, I fixed benchmark/C/src/concurrency/SleepingBarber.lf to correctly use the random number generator. It runs much faster.
I have have also implemented example/C/src/SleepingBarber.lf, which has the same structure as the benchmark, but uses logical actions and randomly generated logical times. That one is useful for watching what is going on.
I then created a version of the example that has the same parameters as benchmark/C/src/concurrency/SleepingBarber.lf and includes the same busy waits. Its performance was about the same, however, so it's not worth checking it in.
This issue is to keep track of the current status of the C benchmarks.
The text was updated successfully, but these errors were encountered: