Message ID | 1463151686-12230-1-git-send-email-bill.fischofer@linaro.org |
---|---|
State | Accepted |
Commit | 5b2abf29b13b7a8a54f864dde4e21b0ea4cb95fc |
Headers | show |
For the series: Reviewed-by: Christophe Milard <christophe.milard@linaro.org> Christophe. On 13 May 2016 at 17:01, Bill Fischofer <bill.fischofer@linaro.org> wrote: > Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> > Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- > doc/images/.gitignore | 2 ++ > doc/images/timeout_fsm.gv | 28 ++++++++++++++++++++++++++++ > doc/images/timer_fsm.gv | 20 ++++++++++++++++++++ > doc/users-guide/Makefile.am | 2 ++ > 4 files changed, 52 insertions(+) > create mode 100644 doc/images/timeout_fsm.gv > create mode 100644 doc/images/timer_fsm.gv > > diff --git a/doc/images/.gitignore b/doc/images/.gitignore > index a19aa75..003dbe6 100644 > --- a/doc/images/.gitignore > +++ b/doc/images/.gitignore > @@ -1,2 +1,4 @@ > resource_management.svg > pktio_fsm.svg > +timer_fsm.svg > +timeout_fsm.svg > diff --git a/doc/images/timeout_fsm.gv b/doc/images/timeout_fsm.gv > new file mode 100644 > index 0000000..21ecb59 > --- /dev/null > +++ b/doc/images/timeout_fsm.gv > @@ -0,0 +1,28 @@ > +digraph timer_state_machine { > + rankdir=LR; > + size="12,20"; > + node [fontsize=28]; > + edge [fontsize=28]; > + node [shape=doublecircle]; TO_Unalloc; > + node [shape=circle]; TO_Alloc TO_Pending TO_Delivered; > + node [shape=rect]; TO_Enqueued; > + TO_Unalloc -> TO_Alloc [label="odp_timeout_alloc()"]; > + TO_Alloc -> TO_Unalloc [label="odp_timeout_free()"]; > + TO_Alloc -> TO_Pending [fontcolor=green, > + label="odp_timer_set_abs()"]; > + TO_Alloc -> TO_Pending [fontcolor=green, > + label="odp_timer_set_rel()"]; > + TO_Pending -> TO_Alloc [fontcolor=green, > + label="odp_timer_cancel()"]; > + TO_Pending -> TO_Enqueued [fontcolor=green, label="timer expires"]; > + TO_Enqueued -> TO_Delivered [label="odp_schedule()"]; > + TO_Delivered -> TO_Pending [fontcolor=green, > + label="odp_timer_set_abs()"]; > + TO_Delivered -> TO_Pending [fontcolor=green, > + label="odp_timer_set_rel()"]; > + TO_Delivered -> TO_Delivered [label="odp_timeout_from_event()"]; > + TO_Delivered -> TO_Delivered [label="odp_timeout_timer()"]; > + TO_Delivered -> TO_Unalloc > + [label="odp_timeout_free() / odp_event_free()"]; > + > +} > diff --git a/doc/images/timer_fsm.gv b/doc/images/timer_fsm.gv > new file mode 100644 > index 0000000..1798d31 > --- /dev/null > +++ b/doc/images/timer_fsm.gv > @@ -0,0 +1,20 @@ > +digraph timer_state_machine { > + rankdir=LR; > + size="12,20"; > + node [fontsize=28]; > + edge [fontsize=28]; > + node [shape=doublecircle]; Timer_Unalloc; > + node [shape=circle]; Timer_Alloc Timer_Set Timer_Expired > + Timer_Unalloc -> Timer_Alloc [label="odp_timer_alloc()"]; > + Timer_Alloc -> Timer_Unalloc [label="odp_timer_free()"]; > + Timer_Alloc -> Timer_Set > [fontcolor=green,label="odp_timer_set_abs()"]; > + Timer_Alloc -> Timer_Set > [fontcolor=green,label="odp_timer_set_rel()"]; > + Timer_Set -> Timer_Alloc > [fontcolor=green,label="odp_timer_cancel()"]; > + Timer_Set -> Timer_Expired [fontcolor=green,label="timer expires"]; > + Timer_Expired -> Timer_Unalloc [label="odp_timer_free()"]; > + Timer_Expired -> Timer_Set [fontcolor=green, > + label="odp_timer_set_abs()"]; > + Timer_Expired -> Timer_Set [fontcolor=green, > + label="odp_timer_set_rel()"]; > + > +} > diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am > index 74caa96..2e1195e 100644 > --- a/doc/users-guide/Makefile.am > +++ b/doc/users-guide/Makefile.am > @@ -30,6 +30,8 @@ IMAGES = $(top_srcdir)/doc/images/overview.svg \ > $(top_srcdir)/doc/images/release_git.svg \ > $(top_srcdir)/doc/images/segment.svg \ > $(top_srcdir)/doc/images/simple_release_git.svg \ > + $(top_srcdir)/doc/images/timeout_fsm.svg \ > + $(top_srcdir)/doc/images/timer_fsm.svg \ > $(top_srcdir)/doc/images/tm_hierarchy.svg \ > $(top_srcdir)/doc/images/tm_node.svg > > -- > 2.7.4 > >
Merged, Maxim. On 05/13/16 18:41, Christophe Milard wrote: > For the series: > Reviewed-by: Christophe Milard <christophe.milard@linaro.org > <mailto:christophe.milard@linaro.org>> > > Christophe. > > > On 13 May 2016 at 17:01, Bill Fischofer <bill.fischofer@linaro.org > <mailto:bill.fischofer@linaro.org>> wrote: > > Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org > <mailto:bill.fischofer@linaro.org>> > Signed-off-by: Christophe Milard <christophe.milard@linaro.org > <mailto:christophe.milard@linaro.org>> > > --- > doc/images/.gitignore | 2 ++ > doc/images/timeout_fsm.gv | 28 ++++++++++++++++++++++++++++ > doc/images/timer_fsm.gv | 20 ++++++++++++++++++++ > doc/users-guide/Makefile.am | 2 ++ > 4 files changed, 52 insertions(+) > create mode 100644 doc/images/timeout_fsm.gv > create mode 100644 doc/images/timer_fsm.gv > > diff --git a/doc/images/.gitignore b/doc/images/.gitignore > index a19aa75..003dbe6 100644 > --- a/doc/images/.gitignore > +++ b/doc/images/.gitignore > @@ -1,2 +1,4 @@ > resource_management.svg > pktio_fsm.svg > +timer_fsm.svg > +timeout_fsm.svg > diff --git a/doc/images/timeout_fsm.gv b/doc/images/timeout_fsm.gv > new file mode 100644 > index 0000000..21ecb59 > --- /dev/null > +++ b/doc/images/timeout_fsm.gv > @@ -0,0 +1,28 @@ > +digraph timer_state_machine { > + rankdir=LR; > + size="12,20"; > + node [fontsize=28]; > + edge [fontsize=28]; > + node [shape=doublecircle]; TO_Unalloc; > + node [shape=circle]; TO_Alloc TO_Pending TO_Delivered; > + node [shape=rect]; TO_Enqueued; > + TO_Unalloc -> TO_Alloc [label="odp_timeout_alloc()"]; > + TO_Alloc -> TO_Unalloc [label="odp_timeout_free()"]; > + TO_Alloc -> TO_Pending [fontcolor=green, > + label="odp_timer_set_abs()"]; > + TO_Alloc -> TO_Pending [fontcolor=green, > + label="odp_timer_set_rel()"]; > + TO_Pending -> TO_Alloc [fontcolor=green, > + label="odp_timer_cancel()"]; > + TO_Pending -> TO_Enqueued [fontcolor=green, label="timer > expires"]; > + TO_Enqueued -> TO_Delivered [label="odp_schedule()"]; > + TO_Delivered -> TO_Pending [fontcolor=green, > + label="odp_timer_set_abs()"]; > + TO_Delivered -> TO_Pending [fontcolor=green, > + label="odp_timer_set_rel()"]; > + TO_Delivered -> TO_Delivered > [label="odp_timeout_from_event()"]; > + TO_Delivered -> TO_Delivered [label="odp_timeout_timer()"]; > + TO_Delivered -> TO_Unalloc > + [label="odp_timeout_free() / > odp_event_free()"]; > + > +} > diff --git a/doc/images/timer_fsm.gv b/doc/images/timer_fsm.gv > new file mode 100644 > index 0000000..1798d31 > --- /dev/null > +++ b/doc/images/timer_fsm.gv > @@ -0,0 +1,20 @@ > +digraph timer_state_machine { > + rankdir=LR; > + size="12,20"; > + node [fontsize=28]; > + edge [fontsize=28]; > + node [shape=doublecircle]; Timer_Unalloc; > + node [shape=circle]; Timer_Alloc Timer_Set Timer_Expired > + Timer_Unalloc -> Timer_Alloc [label="odp_timer_alloc()"]; > + Timer_Alloc -> Timer_Unalloc [label="odp_timer_free()"]; > + Timer_Alloc -> Timer_Set > [fontcolor=green,label="odp_timer_set_abs()"]; > + Timer_Alloc -> Timer_Set > [fontcolor=green,label="odp_timer_set_rel()"]; > + Timer_Set -> Timer_Alloc > [fontcolor=green,label="odp_timer_cancel()"]; > + Timer_Set -> Timer_Expired [fontcolor=green,label="timer > expires"]; > + Timer_Expired -> Timer_Unalloc [label="odp_timer_free()"]; > + Timer_Expired -> Timer_Set [fontcolor=green, > + label="odp_timer_set_abs()"]; > + Timer_Expired -> Timer_Set [fontcolor=green, > + label="odp_timer_set_rel()"]; > + > +} > diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am > index 74caa96..2e1195e 100644 > --- a/doc/users-guide/Makefile.am > +++ b/doc/users-guide/Makefile.am > @@ -30,6 +30,8 @@ IMAGES = $(top_srcdir)/doc/images/overview.svg \ > $(top_srcdir)/doc/images/release_git.svg \ > $(top_srcdir)/doc/images/segment.svg \ > $(top_srcdir)/doc/images/simple_release_git.svg \ > + $(top_srcdir)/doc/images/timeout_fsm.svg \ > + $(top_srcdir)/doc/images/timer_fsm.svg \ > $(top_srcdir)/doc/images/tm_hierarchy.svg \ > $(top_srcdir)/doc/images/tm_node.svg > > -- > 2.7.4 > > > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/doc/images/.gitignore b/doc/images/.gitignore index a19aa75..003dbe6 100644 --- a/doc/images/.gitignore +++ b/doc/images/.gitignore @@ -1,2 +1,4 @@ resource_management.svg pktio_fsm.svg +timer_fsm.svg +timeout_fsm.svg diff --git a/doc/images/timeout_fsm.gv b/doc/images/timeout_fsm.gv new file mode 100644 index 0000000..21ecb59 --- /dev/null +++ b/doc/images/timeout_fsm.gv @@ -0,0 +1,28 @@ +digraph timer_state_machine { + rankdir=LR; + size="12,20"; + node [fontsize=28]; + edge [fontsize=28]; + node [shape=doublecircle]; TO_Unalloc; + node [shape=circle]; TO_Alloc TO_Pending TO_Delivered; + node [shape=rect]; TO_Enqueued; + TO_Unalloc -> TO_Alloc [label="odp_timeout_alloc()"]; + TO_Alloc -> TO_Unalloc [label="odp_timeout_free()"]; + TO_Alloc -> TO_Pending [fontcolor=green, + label="odp_timer_set_abs()"]; + TO_Alloc -> TO_Pending [fontcolor=green, + label="odp_timer_set_rel()"]; + TO_Pending -> TO_Alloc [fontcolor=green, + label="odp_timer_cancel()"]; + TO_Pending -> TO_Enqueued [fontcolor=green, label="timer expires"]; + TO_Enqueued -> TO_Delivered [label="odp_schedule()"]; + TO_Delivered -> TO_Pending [fontcolor=green, + label="odp_timer_set_abs()"]; + TO_Delivered -> TO_Pending [fontcolor=green, + label="odp_timer_set_rel()"]; + TO_Delivered -> TO_Delivered [label="odp_timeout_from_event()"]; + TO_Delivered -> TO_Delivered [label="odp_timeout_timer()"]; + TO_Delivered -> TO_Unalloc + [label="odp_timeout_free() / odp_event_free()"]; + +} diff --git a/doc/images/timer_fsm.gv b/doc/images/timer_fsm.gv new file mode 100644 index 0000000..1798d31 --- /dev/null +++ b/doc/images/timer_fsm.gv @@ -0,0 +1,20 @@ +digraph timer_state_machine { + rankdir=LR; + size="12,20"; + node [fontsize=28]; + edge [fontsize=28]; + node [shape=doublecircle]; Timer_Unalloc; + node [shape=circle]; Timer_Alloc Timer_Set Timer_Expired + Timer_Unalloc -> Timer_Alloc [label="odp_timer_alloc()"]; + Timer_Alloc -> Timer_Unalloc [label="odp_timer_free()"]; + Timer_Alloc -> Timer_Set [fontcolor=green,label="odp_timer_set_abs()"]; + Timer_Alloc -> Timer_Set [fontcolor=green,label="odp_timer_set_rel()"]; + Timer_Set -> Timer_Alloc [fontcolor=green,label="odp_timer_cancel()"]; + Timer_Set -> Timer_Expired [fontcolor=green,label="timer expires"]; + Timer_Expired -> Timer_Unalloc [label="odp_timer_free()"]; + Timer_Expired -> Timer_Set [fontcolor=green, + label="odp_timer_set_abs()"]; + Timer_Expired -> Timer_Set [fontcolor=green, + label="odp_timer_set_rel()"]; + +} diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am index 74caa96..2e1195e 100644 --- a/doc/users-guide/Makefile.am +++ b/doc/users-guide/Makefile.am @@ -30,6 +30,8 @@ IMAGES = $(top_srcdir)/doc/images/overview.svg \ $(top_srcdir)/doc/images/release_git.svg \ $(top_srcdir)/doc/images/segment.svg \ $(top_srcdir)/doc/images/simple_release_git.svg \ + $(top_srcdir)/doc/images/timeout_fsm.svg \ + $(top_srcdir)/doc/images/timer_fsm.svg \ $(top_srcdir)/doc/images/tm_hierarchy.svg \ $(top_srcdir)/doc/images/tm_node.svg