CPC G01R 31/3177 (2013.01) [G06F 1/10 (2013.01)] | 20 Claims |
1. An electronic device, comprising:
a global counter configured to provide a counter value;
a capture register; and
an event selector circuit coupled to the global counter and to the capture register and configured to:
store a selection of an event;
receive a set of event indicators;
compare the set of event indicators to the selection to detect the event; and
based on detection of the event, cause the counter value at a first point in time to be stored in the capture register;
a comparator coupled to the global counter and configured to transmit a clock stop signal based on a comparison of a comparator value and the counter value at a second point in time; and
a clock stop circuit coupled to the comparator and configured to receive the clock stop signal and stop a clock signal to one or more portions of the electronic device.
|