... | ... | @@ -87,22 +87,21 @@ En pratique le timing du temps passé dans l'interruption est observé par un GP |
|
|
\
|
|
|
![image](uploads/f35c81119fcbec7a82ebf8e4dfec612d/image.png)
|
|
|
|
|
|
_Channel 1 is the overhead of the ISR, and channel 2 is the time taken to switch from ctrl thread to app1._
|
|
|
_Channel 1 is the overhead of the ISR, and channel 2 is the time taken to switch from ctrl thread to app1._
|
|
|
|
|
|
<table>
|
|
|
<tr>
|
|
|
<th>Worst case timing observed</th>
|
|
|
<th>Time spent in ISR</th>
|
|
|
<th>Time spent switching from Ctrl threaad to app1 thread</th>
|
|
|
<th>Total overhead</th>
|
|
|
<th>Total overhead in % (Ctrl thread @20kHz)</th>
|
|
|
<th>
|
|
|
|
|
|
k_thread_priority_set
|
|
|
|
|
|
only
|
|
|
</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>No optimizations</td>
|
|
|
<td>11 us</td>
|
|
|
<td>14 us</td>
|
|
|
<td>25 us</td>
|
|
|
<td>50 %</td>
|
|
|
<td>4.4 us</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
... | ... | @@ -115,9 +114,7 @@ _Channel 1 is the overhead of the ISR, and channel 2 is the time taken to switch |
|
|
|
|
|
</div>
|
|
|
</div></td>
|
|
|
<td>11 us</td>
|
|
|
<td>12 us</td>
|
|
|
<td>23 us</td>
|
|
|
<td>46 %</td>
|
|
|
<td>4.4 us</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|