Ignore:
Timestamp:
May 12, 2021, 5:31:01 PM (19 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
16fd826
Parents:
1e5cd9a
Message:

Moved timestamp declaration to kernel.hfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.hfa

    r1e5cd9a r8cd40bf  
    148148
    149149// Aligned timestamps which are used by the relaxed ready queue
    150 struct __attribute__((aligned(128))) __timestamp_t;
    151 void  ?{}(__timestamp_t & this);
    152 void ^?{}(__timestamp_t & this);
     150struct __attribute__((aligned(128))) __timestamp_t {
     151        volatile unsigned long long tv;
     152};
     153
     154static inline void  ?{}(__timestamp_t & this) { this.tv = 0; }
     155static inline void ^?{}(__timestamp_t & this) {}
    153156
    154157//TODO adjust cache size to ARCHITECTURE
Note: See TracChangeset for help on using the changeset viewer.