GPU codepath cycle counting fixes