Re: [PATCH] btt: use millisecond output latency time

Fanhui Meng <[email protected]> Thu, 24 Apr 2025 14:09:34 +0800
Newsgroups org.kernel.vger.linux-btrace
Message-ID <[email protected]>

On 2025/4/24 04:14, Jens Axboe wrote:
> On 4/23/25 2:27 AM, Fanhui Meng wrote:
>> Output latency time in milliseconds to increase readability.
>> as the normal time for IO requests is usually a few milliseconds.
>>
>> q2c.dat test output result:
>> 1.725317 0.292148
>> 1.725275 0.337183
>> 1.725326 0.288462
>> 1.725334 0.282350
>> 1.725342 0.276609
>> 2.039203 0.217158
>> 2.039463 0.123061
>> 2.039715 0.173856
>> 2.040144 0.184456
> 
> This will potentially break tooling. Maybe add a switch to change
> it to msec instead?
> 

Good suggestion, the switch has been added in new patch v2. Please review it. Thank you!