svn commit: r214261 - head/tools/tools/syscall_timing

Robert N. M. Watson rwatson at FreeBSD.org
Sun Oct 24 14:04:52 UTC 2010


On 24 Oct 2010, at 14:20, Alexander Best <arundel at freebsd.org> wrote:

> On Sun Oct 24 10, Robert Watson wrote:
>> Author: rwatson
>> Date: Sun Oct 24 09:14:21 2010
>> New Revision: 214261
>> URL: http://svn.freebsd.org/changeset/base/214261
>> 
>> Log:
>>  Add microbenchmark for create/unlink of a zero-byte file.
> 
> clang still complaining:
> 
> syscall_timing.c:766:24: warning: conversion specifies type 'int' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat]
>                        printf("%ju.%09ju\t%d\t", (uintmax_t)ts_end.tv_sec,
>                                           ~^
>                                           %lu
> 1 warning generated.

Hi Alexander:

I also have detail feedback pending from Bruce on the uses of types in this tool, which I hope to get to later this week! Since doing so is sure to change the warnings, I'll revisit them then. In the mean time, however, I'll keep updating to tool to finish up this chapter... :-)

Thanks,

Robert 


More information about the svn-src-head mailing list