1. A processing device, comprising: a processor to generate a plurality of events; an interface circuit coupled to the processor, the interface circuit to select events from the plurality of events, wherein the selected events comprise a start event and an end event; and a tracker logic coupled to the interface circuit to perform a quality of service (QoS) measurement, wherein the tracker logic further comprises a state machine to receive a start event signal pertaining to the start event and an end event signal pertaining to the end event, and generate an output signal based on the start event signal and the end event signal to control the QoS measurement.