Ignore:
Timestamp:
Aug 17, 2022, 4:34:10 PM (20 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
ff370d8
Parents:
3ce3fb9 (diff), 683cc13 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

fix conflict from pull

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/printer.cfa

    r3ce3fb9 r36cc24a  
    22#include "options.hfa"
    33
     4#include <clock.hfa>
    45#include <fstream.hfa>
    56#include <stats.hfa>
     
    2223        to.maxfd = max( to.maxfd, from.maxfd);
    2324        to.close += from.close; from.close = 0;
     25        to.error += from.error; from.error = 0;
    2426        to.calls += from.calls; from.calls = 0;
     27        to.eagain += from.eagain; from.eagain = 0;
    2528        to.tries += from.tries; from.tries = 0;
    2629        to.header += from.header; from.header = 0;
     
    8083                        uint64_t accp_open = this.stats.accpt.accepts;
    8184                        uint64_t accp_clse = this.stats.send.close;
     85                        uint64_t accp_errs = this.stats.send.error;
    8286                        uint64_t accp_live = accp_open - accp_clse;
    8387
     88                        sout | "-----" | time() | "-----";
    8489                        sout | "----- Acceptor Stats -----";
    85                         sout | "accepts : " | eng3(accp_open) |"opened," | eng3(accp_clse) |"closed," | eng3(accp_live) |"live";
     90                        sout | "accepts : " | eng3(accp_open) |"opened," | eng3(accp_clse) |"closed," | eng3(accp_live) |"live," | eng3(accp_errs) |"errors";
    8691                        sout | "accept  : " | eng3(this.stats.accpt.accepts) | "calls," | eng3(this.stats.accpt.eagains) | "eagains," | eng3(this.stats.accpt.creates) | " thrds";
    8792                        sout | nl;
     
    8994                        sout | "----- Connection Stats -----";
    9095                        sout | "max fd    : " | this.stats.send.maxfd;
    91                         sout | "sendfile  : " | eng3(calls) | "calls," | eng3(tries) | "tries (" | ratio | " try/call)";
     96                        sout | "sendfile  : " | eng3(calls) | "calls," | eng3(tries) | "tries (" | ratio | " try/call)," | eng3(this.stats.send.eagain) | "eagains";
    9297                        sout | "            " | eng3(header) | "header," | eng3(splcin) | "splice in," | eng3(splcot) | "splice out";
    93                         sout | " - zipf sizes:";
    94                         for(i; zipf_cnts) {
    95                                 double written = avgrd[i].calls > 0 ? ((double)avgrd[i].bytes) / avgrd[i].calls : 0;
    96                                 sout | "        " | zipf_sizes[i] | "bytes," | avgrd[i].calls | "shorts," | written | "written";
    97                         }
     98                        // sout | " - zipf sizes:";
     99                        // for(i; zipf_cnts) {
     100                        //      double written = avgrd[i].calls > 0 ? ((double)avgrd[i].bytes) / avgrd[i].calls : 0;
     101                        //      sout | "        " | zipf_sizes[i] | "bytes," | avgrd[i].calls | "shorts," | written | "written";
     102                        // }
    98103                }
    99104
Note: See TracChangeset for help on using the changeset viewer.