mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: improve logging by adding size.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ddce122991
commit
7cba813c81
@@ -110,6 +110,7 @@ void FileLogger<debugLevel>::logAllocation(GraphicsAllocation const *graphicsAll
|
||||
ss << " AllocationType: " << getAllocationTypeString(graphicsAllocation);
|
||||
ss << " MemoryPool: " << getMemoryPoolString(graphicsAllocation);
|
||||
ss << " Root device index: " << graphicsAllocation->getRootDeviceIndex();
|
||||
ss << " Size: " << graphicsAllocation->getUnderlyingBufferSize();
|
||||
ss << " GPU address: 0x" << std::hex << graphicsAllocation->getGpuAddress() << " - 0x" << std::hex << graphicsAllocation->getGpuAddress() + graphicsAllocation->getUnderlyingBufferSize() - 1;
|
||||
|
||||
ss << graphicsAllocation->getAllocationInfoString();
|
||||
|
||||
Reference in New Issue
Block a user