SWDEV-244000 - Print freeMem_ for memory accounting

Change-Id: I5bbce213236a109e9aa69766d2d4d370b58d0d08
Tá an tiomantas seo le fáil i:
Jason Tang tiomanta 2020-07-15 13:44:05 -04:00
1 tuismitheoir af1c4a5794
tiomantas 5e0bb5bd39
2 comhad athraithe
+11 -9

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -1893,6 +1893,7 @@ void Device::updateFreeMemory(size_t size, bool free) {
else {
freeMem_ -= size;
}
ClPrint(amd::LOG_INFO, amd::LOG_MEM, "device=0x%lx, freeMem_ = 0x%x", this, freeMem_.load());
}
bool Device::IpcCreate(void* dev_ptr, size_t* mem_size, void* handle) {