1. A method comprising: determining a first number of execution cycles used by a calibration program for an event group with a collector inactive; determining a second number of execution cycles used by the calibration program for the event group with the collector active; and calculating a compensation value for the event group based on a difference between the first number of execution cycles and the second number of execution cycles.