Returns number of tasks waiting to be serviced, and first and last task times

Synopsis

Declared in <scheduler.h>

[[requires_capability(0x7f2e20c56048)]]
size_t
getQueueInfo(
    std::chrono::steady_clock::time_point& first,
    std::chrono::steady_clock::time_point& last) const;

Return Value

The number of tasks currently waiting in the queue.

Parameters

Name

Description

first

Output set to the time of the earliest queued task.

last

Output set to the time of the latest queued task.

Created with MrDocs