add a performance counter to retro_run