sang lee
|
Adjusting for lost ticks during suspend
|
sang lee
12/08/2015 5:18 PM
post115246
|
Adjusting for lost ticks during suspend
I am trying to understand how QNX compensates for ticks lost during suspend.
The below is the scenario I am worried about:
1. Process requests for a wake up in 2 minutes
2. With no active jobs to do, QNX puts the system into stand by, shutting down timer interrupts
3. User presses power key after a minute
4. In order to not wake up the process from #1 too early, its timer has to be adjusted.
I was thinking there has to be some callout a BSP has to provide for QNX to figure out how much time was spent without
any timer interrupt. I have not been able to figure this out from the documentation, however
Could someone please help here?
|
|
|