add a function _papi_hwi_counter_reorder(EventSetInfo_t *ESI, u_long_long *hw_co unter, u_long_long *events);  which reorder the counters from hardware order to events order and if one  event is a derived event, this function will do the appropriate calculation.
add a function _papi_hwi_counter_reorder(EventSetInfo_t *ESI, u_long_long *hw_co
unter, u_long_long *events);
 which reorder the counters from hardware order to events order and if one
 event is a derived event, this function will do the appropriate calculation.

pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi