ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
37 stars 36 forks source link

Lockhammer: make -t 0 parameter like -t max_num_cores parameter #38

Closed zoybai closed 6 years ago

zoybai commented 6 years ago

Currently -t==0 will be treated like 0 thread case, which has invalid results. We'd better treat -t == 0 as default -t, and use max threads instead of 0 thread. Therefore test_lockhammer.py calc_sweep_list() function can be easier because every parameter can start with zero now.

geoffreyblake commented 6 years ago

Can one of the admins verify this patch?