projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of https://github.com/bvanassche/fio
[fio.git]
/
lib
/
num2str.h
1
#ifndef FIO_NUM2STR_H
2
#define FIO_NUM2STR_H
3
4
#include <inttypes.h>
5
6
enum n2s_unit {
7
N2S_NONE = 0,
8
N2S_PERSEC = 1,
9
N2S_BYTE = 2,
10
N2S_BIT = 3,
11
N2S_BYTEPERSEC = 4,
12
N2S_BITPERSEC = 5,
13
};
14
15
extern char *num2str(uint64_t, int, int, int, enum n2s_unit);
16
17
#endif