|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
realtime runtime code throughput margin monitoring
I'm wondering how many teams add runtime throughput and scheduling monitoring in each thread (or parallel loop) of their practice or even competition deployed code. Something like the following Code:
* thread start * t0=system_microseconds(); if (t0-t1)>TBD1 err1++; //scheduling monitor t1=t0; * put thread code here * if (system_microseconds()-t0)>TBD2 err2++; //thread throughput margin monitor * thread end * |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|