mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 12:29:57 -04:00
Make the memory report's system line name the write-combined views, the recording copies and the handles.
The system line took the driver's device-local figure out of the process's commit, but the driver's write-combined views of that memory came to 0.2-1.1 GiB more, and that part went to "other": in the 2026-11-13 session other system memory grew 1,283 MiB in play while the process's own commit grew 307. With a walk of the address space (mem_census) less than a minute old, the gap at that walk is now a term of its own. The NVN recording copies, malloc'd, count among the C runtime heap's known parts with those unused for 5 minutes, and the line ends with the process's handle count, which rose at every area load in that session and never fell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2183,6 +2183,11 @@ void plat_process_memory(uint64_t *resident, uint64_t *private_bytes) {
|
||||
*resident = pm.WorkingSetSize, *private_bytes = pm.PrivateUsage;
|
||||
}
|
||||
|
||||
uint32_t plat_handle_count(void) {
|
||||
DWORD n = 0;
|
||||
return GetProcessHandleCount(GetCurrentProcess(), &n) ? (uint32_t)n : 0;
|
||||
}
|
||||
|
||||
// The UCRT's malloc takes its memory from the heap _get_heap_handle names (the process heap); HeapSummary sums it. The
|
||||
// other heaps are only counted: one made with HEAP_NO_SERIALIZE has no lock to take.
|
||||
void plat_heap_info(PlatHeapInfo *h) {
|
||||
|
||||
Reference in New Issue
Block a user