bdevperf: change the type of io_time_in_usec into uint64_t
Purpose: To avoid overflow, if the passed value is too big. Change-Id: I59d31c0baa742cab14e22dcd88a61cb5adca247a Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/392579 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
4547ce65a8
commit
cf1ab98c90
@ -544,7 +544,7 @@ static void usage(char *program_name)
|
||||
}
|
||||
|
||||
static void
|
||||
performance_dump(int io_time_in_usec)
|
||||
performance_dump(uint64_t io_time_in_usec)
|
||||
{
|
||||
uint32_t index;
|
||||
unsigned lcore_id;
|
||||
|
Loading…
Reference in New Issue
Block a user