ChibiOS/RT Architecture - Reference Manual - Guides |
A mutex is locked/unlocked into a continuous loop, no Context Switch happens because there are no other threads asking for the mutex.
The performance is calculated by measuring the number of iterations after a second of continuous operations.