Skip to main content

inflight_count

Function inflight_count 

Source
pub fn inflight_count(loc: DeviceLocation) -> u32
Expand description

Read the current in-flight async-op count for loc. The signal a load-aware selector consults (Step E Phase C / C2, via BackendStreams::pending_work_count). 0 for a device that has never submitted async work (including CPU, which never submits any).