mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
refactor: move memory tracking to memory manager
- remove wddm specific code - improve total size reported to be in decimal Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c0d9cb4d84
commit
dd631610b3
@@ -118,8 +118,8 @@ void FileLogger<debugLevel>::logAllocation(GraphicsAllocation const *graphicsAll
|
||||
ss << graphicsAllocation->getPatIndexInfoString();
|
||||
|
||||
if (memoryManager) {
|
||||
ss << " Total sys mem allocated: " << memoryManager->getUsedSystemMemorySize();
|
||||
ss << " Total lmem allocated: " << memoryManager->getUsedLocalMemorySize(graphicsAllocation->getRootDeviceIndex());
|
||||
ss << " Total sys mem allocated: " << std::dec << memoryManager->getUsedSystemMemorySize();
|
||||
ss << " Total lmem allocated: " << std::dec << memoryManager->getUsedLocalMemorySize(graphicsAllocation->getRootDeviceIndex());
|
||||
}
|
||||
|
||||
ss << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user