01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RTOS</strong> task switch time<br />

Performance comparision between <strong>IPC<strong>@CHIP</strong></strong> family<br />

The following diagramm and C code shows how the measured values were calculated.<br />

void huge taskA(void)<br />

{<br />

RTX_Sleep_Request();<br />

}<br />

void huge taskB(void)<br />

{<br />

RTX_Restart_Task (taskAID);<br />

RTX_Wakeup (taskAID);<br />

}<br />

void main (void)<br />

{<br />

//...<br />

result = RTX_Create_Task_Without_Run(&taskAID , &taskAdefblock);<br />

RTX_Sleep_Time(10);<br />

result = RTX_Create_Task(&taskBID , &taskBdefblock);<br />

//...<br />

}<br />

T1 T2 T3 T4<br />

<strong>SC12</strong> 104 µs 80 µs 100 µs 60 µs<br />

SC13/SC11 35 µs 35 µs 36 µs 26 µs<br />

Interrupt latency<br />

The interrupt handler latency is the time from the processor's first response to an interrupt request signal through to the first<br />

useful instruction inside of the user interrupt service procedure.<br />

The user interrupt service procedure can be of type HW API or RTX.<br />

Page 388 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!