1 #ifndef FIO_NUM2STR_H 2 #define FIO_NUM2STR_H 3 4 #include <inttypes.h> 5 6 #define N2S_NONE 0 7 #define N2S_BITPERSEC 1 /* match unit_base for bit rates */ 8 #define N2S_PERSEC 2 9 #define N2S_BIT 3 10 #define N2S_BYTE 4 11 #define N2S_BYTEPERSEC 8 /* match unit_base for byte rates */ 12 13 extern char *num2str(uint64_t, int, int, int, int); 14 15 #endif 16