摘要 |
A technique to detect and filter accesses to a region of memory using a combination of hardware logic and software instructions, where one or more scenarios monitor various memory accesses within a software program. A sentinel instruction may be inserted prior, in program order, to an instruction or group of instructions that are to access a memory region, and when executed may cause a corresponding channel or channels within the processor or other processor to perform various comparison operations on information associated with the instructions performed subsequent to the sentinel instruction. If a condition that has been programmed into the channels is satisfied then the condition may trigger a fault-like yield event for a handler to perform one or more functions. The performance of a thread of instructions may be modified according to a profile of information generated in response to monitoring the access to a memory region. |