Ignore:
Timestamp:
Mar 22, 2022, 3:28:29 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
ff7b2de
Parents:
8f01ad71
Message:

I/O now updates the timestamps when draining.
Timestamps are not used yet.

File:
1 edited

Legend:

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

    r8f01ad71 r78a580d  
    6060        #include "fstream.hfa"
    6161        #include "kernel/private.hfa"
     62        #include "limits.hfa"
    6263        #include "thread.hfa"
    6364#pragma GCC diagnostic pop
     
    215216                // completion queue
    216217                cq.lock      = 0;
     218                cq.id        = MAX;
     219                cq.ts        = rdtscl();
    217220                cq.head      = (volatile __u32 *)(((intptr_t)cq.ring_ptr) + params.cq_off.head);
    218221                cq.tail      = (volatile __u32 *)(((intptr_t)cq.ring_ptr) + params.cq_off.tail);
Note: See TracChangeset for help on using the changeset viewer.