首页>
外国专利>
Performance monitoring in a data processing apparatus capable of executing instructions at a plurality of privilege levels
Performance monitoring in a data processing apparatus capable of executing instructions at a plurality of privilege levels
展开▼
机译:能够以多个特权级别执行指令的数据处理设备中的性能监视
展开▼
页面导航
摘要
著录项
相似文献
摘要
A data processing apparatus (Figure 1) has processing circuitry which can execute instructions at one of several privilege levels, and includes a plurality of performance monitoring circuits. In response to an instruction executed at a first privilege level EL1, first configuration data is set 102 for controlling performance monitoring by a first subset of performance monitoring circuits (50 in Figure 4). A disable control flag 100 can be set in response to an instruction executed at a second privilege level EL2 higher than the first privilege level. If the disable control flag has a predetermined value then performance monitoring control circuitry disables performance monitoring by the first subset of performance monitoring circuits while the processing circuitry is executing instructions at the second privilege level; see 106, 108. The performance monitoring circuits may include event counters (30, 32 in Figure 4). The first privilege level may correspond to a guest operating system and the second privilege level may correspond to a hypervisor mode. The invention may be employed during tasks where security is critical, such as when checking a password.
展开▼