X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=919c6cde8da2c9ed74ec401cf0c5f21396a46289;hb=789f4ccdf725e6da8bde98afd004c31e16241cfd;hp=db0e8756fe71c0ddcfc0e9394b111ba521dddcb9;hpb=46bcd498f7b3fb55f7f048bf299f36bd8c8f7db1;p=fio.git diff --git a/fio.h b/fio.h index db0e8756..919c6cde 100644 --- a/fio.h +++ b/fio.h @@ -66,8 +66,8 @@ struct thread_data { void *eo; char verror[FIO_VERROR_SIZE]; pthread_t thread; - int thread_number; - int groupid; + unsigned int thread_number; + unsigned int groupid; struct thread_stat ts; int client_type; @@ -414,6 +414,7 @@ extern int initialize_fio(char *envp[]); */ extern void print_thread_status(void); extern void print_status_init(int); +extern char *fio_uint_to_kmg(unsigned int val); /* * Thread life cycle. Once a thread has a runstate beyond TD_INITIALIZED, it