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
Write a program that measures the performance cost of using locks. Measure the overhead of calling lock and unlock depending on the level of contention (i.e., the number of threads) in the system. You will need a finer grained timing system than gettimeofday.
The text was updated successfully, but these errors were encountered:
Prof. Tim, it is interesting that the time overhead per thread changes with the num_threads, yet the time is counting only the overhead of calling mutex, which should be about the same regardless of num_threads, do you mind if explain why this happened ? and the same thing happened to output of issue #48 as well.
Write a program that measures the performance cost of using locks. Measure the overhead of calling lock and unlock depending on the level of contention (i.e., the number of threads) in the system. You will need a finer grained timing system than gettimeofday.
The text was updated successfully, but these errors were encountered: