What a landing put into title memory is not sent up again (VICTORY_LAND_ECHO=0: sent)
Memory the kernel watches counts as written by the landing of what shaders wrote; the next refresh copied those pages and sent them up again (run submit-2, the dorm: a copy of 90 MB, write-combined for the title, 14.9 MB a frame fetched and 14.4 MB of the same pieces sent). Pages a landing was noted in are compared with the CPU side, 4 KiB at a time, and left if they are alike. Not run in the game yet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d79ec0ebd6
commit
e162982e2d
2 files changed
+163
No files matched your search
@@ -39,6 +39,12 @@ pub(super) fn line(frames: f64) {
|
||||
let sum = |way: usize| all.iter().map(|(_, m)| m.bytes[way]).sum::<u64>();
|
||||
// Copies that only move one way.
|
||||
let only = |way: usize| all.iter().filter(|(_, m)| m.bytes[1 - way] == 0).map(|(_, m)| m.bytes[way]).sum::<u64>();
|
||||
tracing::info!(
|
||||
"landings in title memory looked at by refreshes per frame (VICTORY_LAND_ECHO=0: sent up): {:.1} MB held already and left, \
|
||||
{:.1} MB the title's too",
|
||||
mb(crate::shadow::ECHO[0].swap(0, std::sync::atomic::Ordering::Relaxed)),
|
||||
mb(crate::shadow::ECHO[1].swap(0, std::sync::atomic::Ordering::Relaxed)),
|
||||
);
|
||||
tracing::info!(
|
||||
"bytes of host copies over the bus per frame: {:.1} MB up ({:.1} of copies nothing was fetched from), {:.1} MB fetched \
|
||||
({:.1} of copies nothing was sent up to), {} copies; the most:",
|
||||
|
||||
Reference in new issue
Block a user