Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 187:fe5ad5726e36
counters working ...sort of
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 03 Feb 2012 17:32:48 +0100 |
| parents | 69eb54ce9c4b |
| children | 20358f56e498 |
comparison
equal
deleted
inserted
replaced
| 86:7fd8d4ca34bb | 87:7ff447b4af17 |
|---|---|
| 40 //These defines turn types of bug messages on and off | 40 //These defines turn types of bug messages on and off |
| 41 // be sure debug messages are un-commented (next block of defines) | 41 // be sure debug messages are un-commented (next block of defines) |
| 42 #define dbgAppFlow FALSE /* Top level flow of application code -- general*/ | 42 #define dbgAppFlow FALSE /* Top level flow of application code -- general*/ |
| 43 #define dbgProbes FALSE /* for issues inside probes themselves*/ | 43 #define dbgProbes FALSE /* for issues inside probes themselves*/ |
| 44 #define dbgB2BMaster FALSE /* in coreloop, back to back master VPs*/ | 44 #define dbgB2BMaster FALSE /* in coreloop, back to back master VPs*/ |
| 45 #define dbgRqstHdlr TRUE /* in request handler code*/ | 45 #define dbgRqstHdlr FALSE /* in request handler code*/ |
| 46 #define dbgDependency TRUE /* in request handler code, print dependencies */ | 46 #define dbgDependency TRUE /* in request handler code, print dependencies */ |
| 47 | 47 |
| 48 //Comment or un- the substitute half to turn on/off types of debug message | 48 //Comment or un- the substitute half to turn on/off types of debug message |
| 49 #define DEBUG( bool, msg) \ | 49 #define DEBUG( bool, msg) \ |
| 50 if( bool){ printf(msg); fflush(stdin);} | 50 if( bool){ printf(msg); fflush(stdin);} |
| 80 #define DETECT_LOOP_GRAPH | 80 #define DETECT_LOOP_GRAPH |
| 81 | 81 |
| 82 //========================= Hardware related Constants ===================== | 82 //========================= Hardware related Constants ===================== |
| 83 //This value is the number of hardware threads in the shared memory | 83 //This value is the number of hardware threads in the shared memory |
| 84 // machine | 84 // machine |
| 85 #define NUM_CORES 2 | 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 1 | 89 #define NUM_SCHED_SLOTS 1 |
| 90 | 90 |
