- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r8cd5434 rc993b15 117 117 } init; 118 118 119 struct KernelThreadData * local_data;120 121 119 #if !defined(__CFA_NO_STATISTICS__) 122 120 int print_stats; … … 148 146 149 147 // Aligned timestamps which are used by the relaxed ready queue 150 struct __attribute__((aligned(128))) __timestamp_t { 151 volatile unsigned long long tv; 152 }; 153 154 static inline void ?{}(__timestamp_t & this) { this.tv = 0; } 155 static inline void ^?{}(__timestamp_t & this) {} 148 struct __attribute__((aligned(128))) __timestamp_t; 149 void ?{}(__timestamp_t & this); 150 void ^?{}(__timestamp_t & this); 156 151 157 152 //TODO adjust cache size to ARCHITECTURE … … 176 171 void ?{}(__ready_queue_t & this); 177 172 void ^?{}(__ready_queue_t & this); 178 #if !defined(__CFA_NO_STATISTICS__)179 unsigned cnt(const __ready_queue_t & this, unsigned idx);180 #endif181 173 182 174 // Idle Sleep
Note:
See TracChangeset
for help on using the changeset viewer.