HAP_ps APIs
HAP_ps
Signal early wakeup

Functions

int HAP_send_early_signal (uint32_t tidQ, uint32_t earlyWakeTime)
 
int fastrpc_send_early_signal (uint32_t tidQ, uint32_t earlyWakeTime)
 

Detailed Description

Function Documentation

◆ fastrpc_send_early_signal()

int fastrpc_send_early_signal ( uint32_t  tidQ,
uint32_t  earlyWakeTime 
)

API deprecated from Lahaina onwards. Use HAP_send_early_signal() instead

◆ HAP_send_early_signal()

int HAP_send_early_signal ( uint32_t  tidQ,
uint32_t  earlyWakeTime 
)

Send signal to CPU for early wake up

Send signal to CPU for early wake up with approximate time to complete the job. This signal helps to reduce FastRPC latency.

Args:

Parameters
[in]tidQ: QuRT thread id of a skel invoke thread. Use qurt_thread_get_id() to retrieve the thread ID.
[in]earlyWakeTime: approximate time (in us) to complete job after sending the signal Returns: 0 on success, valid non-zero error code on failure