mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-28 16:12:39 +01:00
doc: add building of instrument method map
This commit is contained in:
17
doc/source/instrument_method_map.template
Normal file
17
doc/source/instrument_method_map.template
Normal file
@@ -0,0 +1,17 @@
|
||||
.. _instruments_method_map:
|
||||
|
||||
Instrumentation Signal-Method Mapping
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Instrument methods get automatically hooked up to signals based on their names. Mostly, the method
|
||||
name correponds to the name of the signal, however there are a few convienience aliases defined
|
||||
(listed first) to make easier to relate instrumenation code to the workload execution model.
|
||||
|
||||
$signal_names
|
||||
|
||||
The methods above may be decorated with on the listed decorators to set the priority of the
|
||||
Instrument method realive to other callbacks registered for the signal (within the same priority
|
||||
level, callbacks are invoked in the order they were registered). The table below shows the mapping
|
||||
of the decorator to the corresponding priority:
|
||||
|
||||
$priority_prefixes
|
Reference in New Issue
Block a user