diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-12 11:57:44 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-16 18:58:10 +0200 |
| commit | 709616c713f9471a993ad7d16bce23e8b88ce958 (patch) | |
| tree | 0229d332acaa18a1b3baf50137ef0f608f57ca9c /hw/core/qdev-clock.c | |
| parent | 7daf8f8d011cdd5d3e86930ed2bde969425c790c (diff) | |
| download | focaccia-qemu-709616c713f9471a993ad7d16bce23e8b88ce958.tar.gz focaccia-qemu-709616c713f9471a993ad7d16bce23e8b88ce958.zip | |
util/cutils: Introduce freq_to_str() to display Hertz units
Introduce freq_to_str() to convert frequency values in human friendly units using the SI units for Hertz. Suggested-by: Luc Michel <luc@lmichel.fr> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Luc Michel <luc@lmichel.fr> Message-Id: <20201012095804.3335117-2-f4bug@amsat.org>
Diffstat (limited to 'hw/core/qdev-clock.c')
0 files changed, 0 insertions, 0 deletions