- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel/private.hfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/private.hfa
r31c967b r2284d20 49 49 #endif 50 50 51 // #define READYQ_USE_LINEAR_AVG52 #define READYQ_USE_LOGDBL_AVG53 // #define READYQ_USE_LOGINT_AVG54 55 #if defined(READYQ_USE_LINEAR_AVG)56 typedef unsigned long long __readyQ_avg_t;57 #elif defined(READYQ_USE_LOGDBL_AVG)58 typedef double __readyQ_avg_t;59 #elif defined(READYQ_USE_LOGDBL_AVG)60 typedef unsigned long long __readyQ_avg_t;61 #else62 #error must pick a scheme for averaging63 #endif64 65 51 //----------------------------------------------------------------------------- 66 52 // Scheduler 67 union __attribute__((aligned(64))) __timestamp_t {68 struct {69 volatile unsigned long long tv;70 volatile __readyQ_avg_t ma;71 } t;72 char __padding[192];73 };74 75 53 extern "C" { 76 54 void disable_interrupts() OPTIONAL_THREAD;
Note:
See TracChangeset
for help on using the changeset viewer.