Changeset bf7c7ea for benchmark/io/http
- Timestamp:
- Jun 10, 2022, 4:13:05 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 329e26a
- Parents:
- c25338d
- Location:
- benchmark/io/http
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/printer.cfa
rc25338d rbf7c7ea 41 41 42 42 void ?{}( StatsPrinter & this, cluster & cl ) { 43 ((thread&)this){ "Stats Printer Thread" , cl};44 43 ((thread&)this){ "Stats Printer Thread" }; 44 &this.cl = &cl; 45 45 memset(&this.stats, 0, sizeof(this.stats));; 46 46 } … … 59 59 wait(this.var, 10`s); 60 60 61 print_stats_now( *active_cluster(), CFA_STATS_READY_Q | CFA_STATS_IO );61 print_stats_now( this.cl, CFA_STATS_READY_Q | CFA_STATS_IO ); 62 62 { 63 63 struct { -
benchmark/io/http/printer.hfa
rc25338d rbf7c7ea 42 42 } stats; 43 43 condition_variable(fast_block_lock) var; 44 cluster & cl; 44 45 }; 45 46 -
benchmark/io/http/protocol.cfa
rc25338d rbf7c7ea 587 587 588 588 void ?{}( DateFormater & this ) { 589 ((thread&)this){ "Server Date Thread" , *options.clopts.instance};589 ((thread&)this){ "Server Date Thread" }; 590 590 this.idx = 0; 591 591 memset( &this.buffers[0], 0, sizeof(this.buffers[0]) );
Note: See TracChangeset
for help on using the changeset viewer.