summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-05-25 15:38:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-14 16:50:30 +0200
commitcfb344892209783a600e80053dba1cfeee4bd16a (patch)
treed6ef46f71c8b219d10b1f757da873c63fd674932 /qapi
parent467ef823d83ed7ba68cc92e1a23938726b8c4e9d (diff)
cutils: add functions for IEC and SI prefixes
Extract the knowledge of IEC and SI prefixes out of size_to_str and freq_to_str, so that it can be reused when printing statistics. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions