Ignore:
File:
1 edited

Legend:

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

    rc993b15 r8cd5434  
    117117        } init;
    118118
     119        struct KernelThreadData * local_data;
     120
    119121        #if !defined(__CFA_NO_STATISTICS__)
    120122                int print_stats;
     
    146148
    147149// Aligned timestamps which are used by the relaxed ready queue
    148 struct __attribute__((aligned(128))) __timestamp_t;
    149 void  ?{}(__timestamp_t & this);
    150 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) {}
    151156
    152157//TODO adjust cache size to ARCHITECTURE
     
    171176void  ?{}(__ready_queue_t & this);
    172177void ^?{}(__ready_queue_t & this);
     178#if !defined(__CFA_NO_STATISTICS__)
     179        unsigned cnt(const __ready_queue_t & this, unsigned idx);
     180#endif
    173181
    174182// Idle Sleep
Note: See TracChangeset for help on using the changeset viewer.