Normal invocation of lockhammer runs with all threads pinned to
specific cores in the FIFO scheduler with threads synchronized to
only start testing after all threads have successfully been
scheduled. This entails many pitfalls including necessitating
running as root and the possiblity for poor system responsiveness
or even hangs. Add a safe mode option which avoids all of these
at the cost of significantly less accurate performance measurment.
Normal invocation of lockhammer runs with all threads pinned to specific cores in the FIFO scheduler with threads synchronized to only start testing after all threads have successfully been scheduled. This entails many pitfalls including necessitating running as root and the possiblity for poor system responsiveness or even hangs. Add a safe mode option which avoids all of these at the cost of significantly less accurate performance measurment.
Change-Id: Iecde0a60ca5354d2efdb9e664d161ecddded63f8 Signed-off-by: Lucas Crowthers lucasc.qdt@qualcommdatacenter.com