Patent ID: 11868825
Assignee: SANKEN ELECTRIC CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 0:
1. A processor that transitions from an execution status, in which an instruction is being executed or requested to be executed, to a wait status, in which an instruction is waiting to be executed, by an event wait instruction specifying a wait event, and transitions from the wait status to the execution status by an occurrence of the wait event, comprising:
a timer counter that increments a counter value from an initial value;
an event input control unit that detects an event input, which notifies the occurrence of an event;
a wait event detection unit that detects the wait event by the event input;
a status control unit that changes a status from the execution status to the wait status and outputs a count start signal to instruct the timer counter to start counting by the event wait instruction, and changes a status from the wait status to the execution status and outputs a count end signal to instruct the timer counter to end counting by the detection of the wait event; and
a measurement value register that receives and stores a count value of the timer counter by output of the count end signal from the status control unit.