2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 04:38:27 +08:00

doc: note use of scheduler attributes

This commit is contained in:
architeuthidae 2024-11-21 18:09:10 +01:00 committed by Sébastien Bourdeauducq
parent 61c311fc54
commit 9b5b4c07ea

View File

@ -156,6 +156,11 @@ Accessing the :meth:`pause` and :meth:`~artiq.master.scheduler.Scheduler.check_p
:meth:`~artiq.master.scheduler.Scheduler.check_pause` can be called (via RPC) from a kernel, but :meth:`pause` cannot be.
Scheduler attributes
^^^^^^^^^^^^^^^^^^^^
The ``scheduler`` virtual device also exposes information about an experiment's scheduling status through the attributes ``rid``, ``pipeline_name``, ``priority``, and ``expid``. This allows e.g. access to an experiment's current RID as ``self.scheduler.rid``.
Internal details
----------------