Various environment variables control how STO test programs are built. In all our benchmarks, we use the following environment variable setup:
PROFILE_COUNTERS=1 # enable STO accounting for abort/commit rates DEBUG_ABORTS=0 # disable accounting for abort reasons BOUND=7 # set bound for bounded spin in locks to 2^7 ADAPTIVE=1 # enable adaptive reader-writer lock NDEBUG=0 # disable assertions
One can start a build with these variable values by supplying them to the make command:
make
$ make PROFILE_COUNTERS=1 DEBUG_ABORTS=0 BOUND=7 ADAPTIVE=1 NDEBUG=0 <target>
There was an error while loading. Please reload this page.