Changeset 1539bbd


Ignore:
Timestamp:
May 1, 2020, 3:13:25 PM (17 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
c5c743e
Parents:
1268ad8
Message:

Added some debugging prints for fast poller

File:
1 edited

Legend:

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

    r1268ad8 r1539bbd  
    372372                verify( (*ring.completion_q.head) == (*ring.completion_q.tail) );
    373373
     374                __cfadbg_print_safe(io_core, "Kernel I/O : Slow poller for ring %p ready\n", &ring);
     375
    374376                while(!__atomic_load_n(&ring.done, __ATOMIC_SEQ_CST)) {
    375377                        #if defined(__CFA_IO_POLLING_USER__)
     
    392394                }
    393395
     396                __cfadbg_print_safe(io_core, "Kernel I/O : Slow poller for ring %p stopping\n", &ring);
     397
    394398                return 0p;
    395399        }
     
    399403                        // Start parked
    400404                        park( __cfaabi_dbg_ctx );
     405
     406                        __cfadbg_print_safe(io_core, "Kernel I/O : Fast poller for ring %p ready\n", &this.ring);
    401407
    402408                        // Then loop until we need to start
     
    414420                                }
    415421                        }
     422
     423                        __cfadbg_print_safe(io_core, "Kernel I/O : Fast poller for ring %p stopping\n", &this.ring);
    416424                }
    417425        #endif
Note: See TracChangeset for help on using the changeset viewer.