Quantitative Evaluation of Embedded Systems

8
Quantitative Evaluation of Embedded Systems Latency for a delayed periodic source

description

Quantitative Evaluation of Embedded Systems. Latency for a delayed periodic source. Calculating a latency bound. Given a dataflow graph with execution times E a Determine the MCM and choose a period μ ≥ MCM Determine start-times T a of a periodic schedule - PowerPoint PPT Presentation

Transcript of Quantitative Evaluation of Embedded Systems

Page 1: Quantitative Evaluation of Embedded Systems

Quantitative Evaluation of Embedded Systems

Latency for a delayed periodic source

Page 2: Quantitative Evaluation of Embedded Systems

Calculating a latency bound

• Given a dataflow graph with execution times Ea

• Determine the MCM and choose a period μ ≥ MCM• Determine start-times Ta of a periodic schedule• Determine the minimum number δ

of tokens between input and output

• Latency ≤ Toutput + Eoutput + δ·μ

Page 3: Quantitative Evaluation of Embedded Systems

Latency for a delayed source

MCM = 22ms

St0 = 34ms

A CB

26ms

30ms

t0 = 0ms

t0 = 8ms

Latency = 10ms

Page 4: Quantitative Evaluation of Embedded Systems

Latency for a delayed source

MCM = 22ms

St0 = 34ms

A CB

26ms

30ms

t0 = 0ms

t0 = 8ms

DDelay = 34ms 10ms

Latency =

Page 5: Quantitative Evaluation of Embedded Systems

Calculating a delayed latency bound

• Given a dataflow graph with execution times Ea

• Determine the MCM and choose a period μ ≥ MCM• Determine start-times Ta of a periodic schedule• Determine the minimum number δ

of tokens between input and output

• Delayed latency ≤ Toutput + Eoutput + δ·μ - Tinput

Page 6: Quantitative Evaluation of Embedded Systems

Latency for a delayed source

A CB

26ms

30ms

10ms

E15ms

Page 7: Quantitative Evaluation of Embedded Systems

Latency for a delayed source

MCM = 22ms

S A CB

26ms

30ms

0ms

8ms0ms

DDelay = 10ms

E15ms

34ms

Page 8: Quantitative Evaluation of Embedded Systems

Latency for a delayed source

• Determine the MCM and choose a period μ ≥ MCM• For each actor a initialize a start-time Ta := 0• Repeat for each arc a—i—b :

Tb := Tb max (Ta + Ea – i μ)until there are no more changes

• Repeat for each actor a:Ta := min{all arcs a-i-b} (Tb - Ea + i μ)

until there are no more changes

• Delayed latency ≤ Toutput + Eoutput + δ·μ - Tinput