| 96 | } |
| 97 | |
| 98 | MemoryInfo MemoryInfo::cpu() { |
| 99 | MemoryInfo info; |
| 100 | info.free_bytes = 0; |
| 101 | info.total_bytes = 0; |
| 102 | info.allocated_bytes = 0; |
| 103 | info.device_id = -1; |
| 104 | return info; |
| 105 | } |
| 106 | |
| 107 | void MemoryInfo::log() const { |
| 108 | LOG_INFO("Memory Info - Device: {}, Allocated: {:.2f} MB, Free: {:.2f} MB, Total: {:.2f} MB", |
no outgoing calls
no test coverage detected