MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / append_human_readable

Function append_human_readable

vulkaninfo/vulkaninfo.cpp:467–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467std::string append_human_readable(VkDeviceSize memory) {
468 return std::to_string(memory) + " (" + to_hex_str(memory) + ") (" + NumToNiceStr(static_cast<size_t>(memory)) + ")";
469}
470
471void GpuDumpMemoryProps(Printer &p, AppGpu &gpu) {
472 p.SetHeader();

Callers 1

GpuDumpMemoryPropsFunction · 0.85

Calls 3

to_hex_strFunction · 0.85
NumToNiceStrFunction · 0.85
to_stringFunction · 0.70

Tested by

no test coverage detected