PAPI_write() writes the counter values provided in the array
values in to the event set
EventSet. The virtual counters managed by the PAPI library will be set to the
values provided. If the event set is running an attempt will be made
write the values to the running counters as well. This operation is
not permitted by all substrates and may result in a run-time error.