split out the CPU exercise into one which does lots of logging as well