After turning on the optimization option (-O3), we ran the test again and obtained the improved results shown in Table 2.
There are no significant differences between the cost of the preliminary lock and the cost of the monitor on all five machines.