new PAPI, add ranking_log() r18 support