Stash the wtperf sample rate calculation in a local variable.