Ignore:
File:
1 edited

Legend:

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

    r1757f98 r0fb3ee5  
    6767                unsigned target;
    6868                unsigned last;
    69                 unsigned cnt;
    70                 unsigned long long int cutoff;
     69                signed   cpu;
    7170        } rdq;
    7271
     
    152151        volatile unsigned long long tv;
    153152        volatile unsigned long long ma;
     153};
     154
     155struct __attribute__((aligned(16))) __cache_id_t {
     156        volatile unsigned id;
    154157};
    155158
     
    164167static inline void ^?{}(__timestamp_t & this) {}
    165168
     169struct __attribute__((aligned(128))) __ready_queue_caches_t;
     170void  ?{}(__ready_queue_caches_t & this);
     171void ^?{}(__ready_queue_caches_t & this);
     172
    166173//TODO adjust cache size to ARCHITECTURE
    167 // Structure holding the relaxed ready queue
     174// Structure holding the ready queue
    168175struct __ready_queue_t {
    169176        // Data tracking the actual lanes
     
    177184                // Array of times
    178185                __timestamp_t * volatile tscs;
     186
     187                __cache_id_t * volatile caches;
    179188
    180189                // Array of stats
Note: See TracChangeset for help on using the changeset viewer.