Changeset 329e26a for benchmark/io/http/printer.cfa
- Timestamp:
- Jun 10, 2022, 5:02:03 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 8419b76
- Parents:
- bf7c7ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/printer.cfa
rbf7c7ea r329e26a 1 1 #include "printer.hfa" 2 #include "options.hfa" 2 3 3 4 #include <fstream.hfa> … … 40 41 } 41 42 42 void ?{}( StatsPrinter & this, cluster &cl ) {43 void ?{}( StatsPrinter & this, ServerCluster * cl ) { 43 44 ((thread&)this){ "Stats Printer Thread" }; 44 &this.cl = &cl;45 this.cl = cl; 45 46 memset(&this.stats, 0, sizeof(this.stats));; 46 47 } … … 59 60 wait(this.var, 10`s); 60 61 61 print_stats_now( this.cl, CFA_STATS_READY_Q | CFA_STATS_IO );62 for(i; options.clopts.nclusters) print_stats_now( this.cl[i].self, CFA_STATS_READY_Q | CFA_STATS_IO ); 62 63 { 63 64 struct {
Note: See TracChangeset
for help on using the changeset viewer.