Merge branch 'evelu-peak' of https://github.com/ErwanAliasr1/fio
[fio.git] / lib / num2str.h
CommitLineData
5e746820
TK
1#ifndef FIO_NUM2STR_H
2#define FIO_NUM2STR_H
3
4#include <inttypes.h>
5
41a87019
BVA
6enum n2s_unit {
7 N2S_NONE = 0,
cbb8289d
BVA
8 N2S_PERSEC = 1,
9 N2S_BYTE = 2,
41a87019 10 N2S_BIT = 3,
cbb8289d
BVA
11 N2S_BYTEPERSEC = 4,
12 N2S_BITPERSEC = 5,
41a87019
BVA
13};
14
15extern char *num2str(uint64_t, int, int, int, enum n2s_unit);
5e746820
TK
16
17#endif