use PRId64 to print counters
show real time
trivial change around error printing
show statistics every 1e+8 cycles
rearrange statistics
use -O3
implement stall-reason counter