ARM-software / synchronization-benchmarks

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

hammerlock - invert lockhammer measurement to a run limit number of timer ticks #68

Open jty2 opened 2 years ago

jty2 commented 2 years ago

This PR adds the -O num_timer_ticks flag to have the benchmark run for a limited number of timer ticks.

The __LSE_CMPXCHG_CASE fix is needed to avoid mysterious bus errors caused by corruption from the legacy hard-coded register usage.