Data processing device and method of controlling the same
AssigneeC/O Renesas Electronics Corporation
InventorsHitoshi Suzuki, Yukihiko Akaike
Life of this patent
Estimating the term…
Abstract
A data processing device includes an instruction execution unit that executes a first task, a second task and an interrupt task, a counter that counts an execution time of one of the first task and the interrupt task, a first storage unit that stores a set value to start the counter when the execution unit executes one of the first task and the interrupt task, a second storage unit that stores the set value stored in the first storage unit when the instruction execution unit switches from an execution of the first task to an execution of the second task, and a memory that stores the set value stored in the first storage unit when the instruction unit switches from the execution of the first task to an execution of the interrupt task.
Claims6
A data processing device, comprising:
- an instruction execution unit that executes a first task, a second task and an interrupt task;
- a counter that counts an execution time of one of the first task and the interrupt task;
- a first storage unit that stores a set value to start the counter when the execution unit executes one of the first task and the interrupt task;
- a second storage unit that stores the set value stored in the first storage unit when the instruction execution unit switches from an execution of the first task to an execution of the second task;
- and
- a memory that stores the set value stored in the first storage unit when the instruction unit switches from the execution of the first task to an execution of the interrupt task,
- wherein, when the instruction execution unit switches from the execution of the second task to the execution of the first task, the first storage unit stores the set value stored in the second storage unit, and
- wherein, when the instruction execution unit switches from the execution of the interrupt task to the execution of the first task, the first storage unit stores the set value stored in the memory.
Dependencies are inferred from the claim text.