Ignore:
Timestamp:
Aug 14, 2020, 3:58:22 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a5bc72e
Parents:
2fafe7e
Message:

Added statistics for the number of times io_ctxs blocked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io.cfa

    r2fafe7e rdcb5f8d  
    245245                                __STATS__( true,
    246246                                        io.complete_q.completed_avg.val += count;
    247                                         io.complete_q.completed_avg.fast_cnt += 1;
     247                                        io.complete_q.completed_avg.cnt += 1;
    248248                                )
    249249                        enable_interrupts( __cfaabi_dbg_ctx );
     
    255255                        // We didn't get anything baton pass to the slow poller
    256256                        else {
     257                                __STATS__( true,
     258                                        io.complete_q.blocks += 1;
     259                                )
    257260                                __cfadbg_print_safe(io_core, "Kernel I/O : Parking io poller %p\n", &this.self);
    258261                                reset = 0;
Note: See TracChangeset for help on using the changeset viewer.