Implement function.
Profile clipped frames too.