Ignore:
File:
1 edited

Legend:

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

    r1757f98 ra2a4566  
    6767                unsigned target;
    6868                unsigned last;
    69                 unsigned cnt;
    70                 unsigned long long int cutoff;
     69                signed   cpu;
     70                // unsigned long long int cutoff;
    7171        } rdq;
    7272
     
    152152        volatile unsigned long long tv;
    153153        volatile unsigned long long ma;
     154};
     155
     156struct __attribute__((aligned(128))) __cache_id_t {
     157        volatile unsigned id;
    154158};
    155159
     
    164168static inline void ^?{}(__timestamp_t & this) {}
    165169
     170struct __attribute__((aligned(128))) __ready_queue_caches_t;
     171void  ?{}(__ready_queue_caches_t & this);
     172void ^?{}(__ready_queue_caches_t & this);
     173
    166174//TODO adjust cache size to ARCHITECTURE
    167 // Structure holding the relaxed ready queue
     175// Structure holding the ready queue
    168176struct __ready_queue_t {
    169177        // Data tracking the actual lanes
     
    177185                // Array of times
    178186                __timestamp_t * volatile tscs;
     187
     188                __cache_id_t * volatile caches;
    179189
    180190                // Array of stats
Note: See TracChangeset for help on using the changeset viewer.