|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
20 #ifndef DW_CORE_TIMER_H_
21 #define DW_CORE_TIMER_H_
183 #endif // DW_CORE_TIMER_H_
DW_API_PUBLIC dwStatus dwTimer_cancelAsync(dwTimerHandle_t const timer)
Asynchronously cancels all scheduled work associated with this timer.
DW_API_PUBLIC dwStatus dwTimer_initializeFromSource(dwTimerHandle_t *const timer, char8_t const *const timerName, dwTimeSourceHandle_t const source)
Creates a new DW timer.
DW_API_PUBLIC dwStatus dwTimer_scheduleTaskRecurring(dwTimerWork const task, void *const clientData, dwTime_t const startTime, dwTime_t const period, dwTimerHandle_t const timer)
Scheduled a task to be run at a future time (recurring)
void(* dwTimerWork)(void *ptr)
dwTimerWork is a timer schedule task callback function, input void* ptr passes the extra data to the ...
const WFDPipeline const WFDSource source
DW_API_PUBLIC dwStatus dwTimer_release(dwTimerHandle_t const timer)
Release the timer instance.
dwStatus
Status definition.
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
DW_API_PUBLIC dwStatus dwTimer_scheduleTaskOneShot(dwTimerWork const task, void *const clientData, dwTime_t const startTime, dwTimerHandle_t const timer)
Scheduled a task to be run at a future time (non-recurring)
struct dwTimeSourceObject * dwTimeSourceHandle_t
Handle represents a TimeSource object.
struct dwTimerObject * dwTimerHandle_t
Handle represents a Timer object.
DW_API_PUBLIC dwStatus dwTimer_cancelSync(dwTimerHandle_t const timer)
Synchronously cancels all scheduled work associated with this timer.