Ignore:
Timestamp:
Jun 10, 2022, 5:02:03 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
8419b76
Parents:
bf7c7ea
Message:

Re-instated the isolate/multi-cluster option.

File:
1 edited

Legend:

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

    rbf7c7ea r329e26a  
    11#include "printer.hfa"
     2#include "options.hfa"
    23
    34#include <fstream.hfa>
     
    4041}
    4142
    42 void ?{}( StatsPrinter & this, cluster & cl ) {
     43void ?{}( StatsPrinter & this, ServerCluster * cl ) {
    4344        ((thread&)this){ "Stats Printer Thread" };
    44         &this.cl = &cl;
     45        this.cl = cl;
    4546        memset(&this.stats, 0, sizeof(this.stats));;
    4647}
     
    5960                wait(this.var, 10`s);
    6061
    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 );
    6263                {
    6364                        struct {
Note: See TracChangeset for help on using the changeset viewer.