[#CScheduler-getQueueInfo]
= xref:CScheduler.adoc[CScheduler]::getQueueInfo
:relfileprefix: ../
:mrdocs:

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

== Synopsis

Declared in `&lt;scheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e20c56048)&rsqb;&rsqb;
size&lowbar;t
getQueueInfo(
    std::chrono::steady&lowbar;clock::time&lowbar;point& first,
    std::chrono::steady&lowbar;clock::time&lowbar;point& last) const;
----

== Return Value

The number of tasks currently waiting in the queue&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| Output set to the time of the earliest queued task&period;
| *last*
| Output set to the time of the latest queued task&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
