- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
rc993b15 r8cd5434 117 117 } init; 118 118 119 struct KernelThreadData * local_data; 120 119 121 #if !defined(__CFA_NO_STATISTICS__) 120 122 int print_stats; … … 146 148 147 149 // 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); 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) {} 151 156 152 157 //TODO adjust cache size to ARCHITECTURE … … 171 176 void ?{}(__ready_queue_t & this); 172 177 void ^?{}(__ready_queue_t & this); 178 #if !defined(__CFA_NO_STATISTICS__) 179 unsigned cnt(const __ready_queue_t & this, unsigned idx); 180 #endif 173 181 174 182 // Idle Sleep
Note:
See TracChangeset
for help on using the changeset viewer.