Docs: a check's step waits until its own calls' length has passed since they ended
This commit is contained in:
1 parent
d729b77438
commit
b7d06c3820
2 files changed
+9
-8
No files matched your search
@@ -134,11 +134,12 @@
|
||||
//! (`step_aside.rs`): it goes on once none is in progress and none ended for
|
||||
//! `step_aside::QUIET`, at once while a call waits for its verdicts (`ANSWER_WAIT`,
|
||||
//! `Device::settle_submit_checks`). Beside a program's burst of makings its verdicts so come
|
||||
//! after the burst. Each step first waits as long as the thread's own allocations and frees
|
||||
//! since the last one took (`step_aside::OwnCall`): NVIDIA's driver holds back every other
|
||||
//! thread's `vkQueueSubmit` while it frees a pointer import, so the import tax's 32 frees in a
|
||||
//! row held the device's submissions for their whole run, and a compositor's command buffers
|
||||
//! beside long work waited up to 21 ms. Paced, the device's submissions go between them.
|
||||
//! after the burst. Each step first waits until as long as the thread's own allocations and
|
||||
//! frees since the last one took has passed since they ended (`step_aside::OwnCall`): NVIDIA's
|
||||
//! driver holds back every other thread's `vkQueueSubmit` while it frees a pointer import, so
|
||||
//! the import tax's 32 frees in a row held the device's submissions for their whole run, and a
|
||||
//! compositor's command buffers beside long work waited up to 21 ms. Paced, the device's
|
||||
//! submissions go between them.
|
||||
//! - **Its thread** holds nothing of the device, as the queue-switch check's does
|
||||
//! (`queue_switch_check.rs`): only the parts of it the checks work with ([`Parts`]), never a
|
||||
//! handle, so the device's last handle never goes on it. It reads the stop between its steps
|
||||
|
||||
@@ -4773,9 +4773,9 @@ pub struct DeviceCheckWork {
|
||||
/// uses of a queue (`WorkCounts::queue_submissions` leaves them out); the submission checks'
|
||||
/// are `WorkCounts::submit_check_calls`.
|
||||
pub queue_submissions: u64,
|
||||
/// Steps of the device's checks that waited before they went on: as long as their own
|
||||
/// allocations and frees since their last step took, then for the device's allocations and
|
||||
/// frees on other threads (`step_aside.rs`).
|
||||
/// Steps of the device's checks that waited before they went on: until as long as their own
|
||||
/// allocations and frees since their last step took had passed since those ended, then for the
|
||||
/// device's allocations and frees on other threads (`step_aside.rs`).
|
||||
pub steps_aside: u64,
|
||||
/// The nanoseconds those steps waited, in all.
|
||||
pub aside_nanos: u64,
|
||||
|
||||
Reference in new issue
Block a user