mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[llvm-mca][docs] Add notes about cycle and resource callbacks. NFC.
llvm-svn: 337225
This commit is contained in:
parent
b41eac7471
commit
4c4b8e599d
@ -273,6 +273,14 @@ describes the state of an instruction (e.g., Ready, Dispatched, Executed,
|
||||
etc.). The latter describes a stall hazard (e.g., load stall, store stall,
|
||||
scheduler stall, etc.).
|
||||
|
||||
In addition to the instruction and stall events. A listener can also
|
||||
subscribe to cycle events (``onCycleStart``, ``onCycleEnd``). These events
|
||||
occur before and after a simulated clock cycle is executed, respectively.
|
||||
|
||||
Listeners can also be notified of various resource states within the stages
|
||||
of a pipeline, such as resource availability, reservation, and reclaim:
|
||||
(``onResourceAvailability``, ``onReservedBuffers``, ``onReleasedBuffers``).
|
||||
|
||||
Creating a Custom View
|
||||
""""""""""""""""""""""
|
||||
To create a custom view, the user must first inherit from the ``View`` class
|
||||
|
Loading…
Reference in New Issue
Block a user