Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 197:f6d81915512c
update include headers
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 10 Feb 2012 18:35:00 +0100 |
| parents | d83f59e6e2db |
| children | 5b419522dc7f |
comparison
equal
deleted
inserted
replaced
| 90:bea8cc971d05 | 91:d4223cb65b50 |
|---|---|
| 9 #ifndef _VMS_H | 9 #ifndef _VMS_H |
| 10 #define _VMS_H | 10 #define _VMS_H |
| 11 #define _GNU_SOURCE | 11 #define _GNU_SOURCE |
| 12 | 12 |
| 13 #include "VMS_primitive_data_types.h" | 13 #include "VMS_primitive_data_types.h" |
| 14 #include "Queue_impl/PrivateQueue.h" | 14 #include "../../C_Libraries/Queue_impl/PrivateQueue.h" |
| 15 #include "Histogram/Histogram.h" | 15 #include "../../C_Libraries/Histogram/Histogram.h" |
| 16 #include "DynArray/DynArray.h" | 16 #include "../../C_Libraries/DynArray/DynArray.h" |
| 17 #include "Hash_impl/PrivateHash.h" | 17 #include "../../C_Libraries/Hash_impl/PrivateHash.h" |
| 18 #include "vmalloc.h" | 18 #include "vmalloc.h" |
| 19 #include "loop.h" | 19 #include "loop.h" |
| 20 #include "ListOfArrays/ListOfArrays.h" | 20 #include "../../C_Libraries/ListOfArrays/ListOfArrays.h" |
| 21 | 21 |
| 22 #include <pthread.h> | 22 #include <pthread.h> |
| 23 #include <sys/time.h> | 23 #include <sys/time.h> |
| 24 | 24 |
| 25 | 25 |
| 84 // machine | 84 // machine |
| 85 #define NUM_CORES 4 | 85 #define NUM_CORES 4 |
| 86 | 86 |
| 87 // tradeoff amortizing master fixed overhead vs imbalance potential | 87 // tradeoff amortizing master fixed overhead vs imbalance potential |
| 88 // when work-stealing, can make bigger, at risk of losing cache affinity | 88 // when work-stealing, can make bigger, at risk of losing cache affinity |
| 89 #define NUM_SCHED_SLOTS 5 | 89 #define NUM_SCHED_SLOTS 1 |
| 90 | 90 |
| 91 #define MIN_WORK_UNIT_CYCLES 20000 | 91 #define MIN_WORK_UNIT_CYCLES 20000 |
| 92 | 92 |
| 93 #define MASTERLOCK_RETRIES 10000 | 93 #define MASTERLOCK_RETRIES 10000 |
| 94 | 94 |
