diff options
| author | Evandro Menezes <e.menezes@samsung.com> | 2019-01-09 23:57:15 +0000 |
|---|---|---|
| committer | Evandro Menezes <e.menezes@samsung.com> | 2019-01-09 23:57:15 +0000 |
| commit | 224d831bed03dbf3934a606d7aaeefede16ab2fc (patch) | |
| tree | b7eaa2db14dad17e8d5321f7ad314006c30232f2 /llvm/lib/MCA/HardwareUnits/ResourceManager.cpp | |
| parent | 9b9fe4166f521eb8b1c3da16bb30a02be08398fa (diff) | |
| download | bcm5719-llvm-224d831bed03dbf3934a606d7aaeefede16ab2fc.tar.gz bcm5719-llvm-224d831bed03dbf3934a606d7aaeefede16ab2fc.zip | |
[llvm-mca] Display masks in hex
Display the resources masks as hexadecimal. Otherwise, NFC.
llvm-svn: 350777
Diffstat (limited to 'llvm/lib/MCA/HardwareUnits/ResourceManager.cpp')
| -rw-r--r-- | llvm/lib/MCA/HardwareUnits/ResourceManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MCA/HardwareUnits/ResourceManager.cpp b/llvm/lib/MCA/HardwareUnits/ResourceManager.cpp index e3a0da2dafe..d05ec0045de 100644 --- a/llvm/lib/MCA/HardwareUnits/ResourceManager.cpp +++ b/llvm/lib/MCA/HardwareUnits/ResourceManager.cpp @@ -99,9 +99,9 @@ ResourceStateEvent ResourceState::isBufferAvailable() const { #ifndef NDEBUG void ResourceState::dump() const { - dbgs() << "MASK=" << format_hex(ResourceMask, 8) - << ", SZMASK=" << format_hex(ResourceSizeMask, 8) - << ", RDYMASK=" << format_hex(ReadyMask, 8) + dbgs() << "MASK=" << format_hex(ResourceMask, 16) + << ", SZMASK=" << format_hex(ResourceSizeMask, 16) + << ", RDYMASK=" << format_hex(ReadyMask, 16) << ", BufferSize=" << BufferSize << ", AvailableSlots=" << AvailableSlots << ", Reserved=" << Unavailable << '\n'; |

