curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: printf less digits/decimals in timing statistics counters

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 31 Jan 2017 14:03:20 +0100 (CET)

On Mon, 30 Jan 2017, Beat Albisser wrote:

> since there are more than 3 digits/decimals (6 instead of 3) in timing
> statistics counters (see https://github.com/curl/curl/pull/1106)...
>
> st there any easy solution to printf the timing statistics counters (e.g.
> time_total) with 3 decimals instead of 6 in curl v 7.52.1?

Nope. We discussed the possibility of adding that in the issue you refer to,
but in the end I didn't think there was any compelling reason to complicate
matters when we didn't have anyone specifically expressing a reason or desire
for it.

Can you help us understand why you need/want this?

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-31