Ignore:
Timestamp:
Jun 9, 2022, 10:56:34 AM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
430ce61
Parents:
8c58e73
Message:

Moved stats printer to it's own file and now using push-stats rather than pull

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/worker.hfa

    r8c58e73 r137974ae  
    99}
    1010
     11#include "printer.hfa"
     12
    1113//=============================================================================================
    1214// Worker Thread
    1315//=============================================================================================
    14 
    15 extern const size_t zipf_sizes[];
    16 enum { zipf_cnts = 36, };
    17 
    18 struct sendfile_stats_t {
    19         volatile uint64_t calls;
    20         volatile uint64_t tries;
    21         volatile uint64_t header;
    22         volatile uint64_t splcin;
    23         volatile uint64_t splcot;
    24         struct {
    25                 volatile uint64_t calls;
    26                 volatile uint64_t bytes;
    27         } avgrd[zipf_cnts];
    28 };
    29 
    30 void ?{}( sendfile_stats_t & this );
    3116
    3217struct connection {
     
    8570        int flags;
    8671        volatile bool done;
     72        acceptor_stats_t stats;
    8773};
    8874void ?{}( Acceptor & );
Note: See TracChangeset for help on using the changeset viewer.