Re: [Cake] eliminating link_ms and increasing packets to 64 bits
Dave Tahtwrites: > the preceding space handles column alignment. the %12 is probably > going to be misleading. The space separates columns, the %12 aligns them. So it will break alignment. But as I said, mostly a cosmetic issue, so probably not something we should spend a lot of time on fixing. -Toke ___ Cake mailing list Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake
Re: [Cake] eliminating link_ms and increasing packets to 64 bits
the preceding space handles column alignment. the %12 is probably going to be misleading. On Fri, Mar 23, 2018 at 2:58 AM, Toke Høiland-Jørgensenwrote: > Dave Taht writes: > >> fprintf(f, " pkts"); >> FOR_EACH_TIN(stnc, tst, i) >> - fprintf(f, " %12u", tst->sent.packets); >> + fprintf(f, " %12llu", tst->sent.packets); >> fprintf(f, "\n"); > > Presumably this can potentially break column alignment? Not sure that is > too much of a problem, though; mostly cosmetic? > > -Toke -- Dave Täht CEO, TekLibre, LLC http://www.teklibre.com Tel: 1-669-226-2619 ___ Cake mailing list Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake
Re: [Cake] eliminating link_ms and increasing packets to 64 bits
Dave Tahtwrites: > fprintf(f, " pkts"); > FOR_EACH_TIN(stnc, tst, i) > - fprintf(f, " %12u", tst->sent.packets); > + fprintf(f, " %12llu", tst->sent.packets); > fprintf(f, "\n"); Presumably this can potentially break column alignment? Not sure that is too much of a problem, though; mostly cosmetic? -Toke ___ Cake mailing list Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake