make setStatsForLongOp inline