lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V4 15/20] Documentation/rv: Add deterministic automata monitor synthesis documentation
On Thu, 16 Jun 2022 10:44:57 +0200
Daniel Bristot de Oliveira <bristot@kernel.org> wrote:

> +DA monitor synthesis in a nutshell
> +------------------------------------------------------
> +
> +The synthesis of automata-based models into the Linux *RV monitor* abstraction
> +is automated by a tool named "dot2k", and the "rv/da_monitor.h" provided
> +by the RV interface.
> +
> +Given a file "wip.dot", representing a per-cpu monitor, with this content::

Specify what "wip" is here too.

-- Steve

> +
> + digraph state_automaton {
> + center = true;
> + size = "7,11";
> + rankdir = LR;
> + {node [shape = circle] "non_preemptive"};
> + {node [shape = plaintext, style=invis, label=""] "__init_preemptive"};
> + {node [shape = doublecircle] "preemptive"};
> + {node [shape = circle] "preemptive"};
> + "__init_preemptive" -> "preemptive";
> + "non_preemptive" [label = "non_preemptive"];
> + "non_preemptive" -> "non_preemptive" [ label = "sched_waking" ];
> + "non_preemptive" -> "preemptive" [ label = "preempt_enable" ];
> + "preemptive" [label = "preemptive"];
> + "preemptive" -> "non_preemptive" [ label = "preempt_disable" ];
> + { rank = min ;
> + "__init_preemptive";
> + "preemptive";
> + }
> + }
> +

\
 
 \ /
  Last update: 2022-06-28 21:12    [W:0.325 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site