Changeset 137974ae for benchmark/io/http/worker.hfa
- Timestamp:
- Jun 9, 2022, 10:56:34 AM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 430ce61
- Parents:
- 8c58e73
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/worker.hfa
r8c58e73 r137974ae 9 9 } 10 10 11 #include "printer.hfa" 12 11 13 //============================================================================================= 12 14 // Worker Thread 13 15 //============================================================================================= 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 );31 16 32 17 struct connection { … … 85 70 int flags; 86 71 volatile bool done; 72 acceptor_stats_t stats; 87 73 }; 88 74 void ?{}( Acceptor & );
Note: See TracChangeset
for help on using the changeset viewer.