Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 177:3bd35fc83c61
move loopgraph recording to plugin (\! changed scheduler fn prototype \!)
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 04 Jan 2012 16:40:10 +0100 |
| parents | 981acd1db6af |
| children | 7523ee70d66c |
comparison
equal
deleted
inserted
replaced
| 76:4f973c62584e | 81:03e895443389 |
|---|---|
| 16 #include "DynArray/DynArray.h" | 16 #include "DynArray/DynArray.h" |
| 17 #include "Hash_impl/PrivateHash.h" | 17 #include "Hash_impl/PrivateHash.h" |
| 18 #include "vmalloc.h" | 18 #include "vmalloc.h" |
| 19 #include "Counters/Counters.h" | 19 #include "Counters/Counters.h" |
| 20 #include "loop.h" | 20 #include "loop.h" |
| 21 #include "ListOfArrays/ListOfArrays.h" | |
| 21 | 22 |
| 22 #include <pthread.h> | 23 #include <pthread.h> |
| 23 #include <sys/time.h> | 24 #include <sys/time.h> |
| 24 | 25 |
| 25 | 26 |
| 122 typedef struct _VirtProcr VirtProcr; | 123 typedef struct _VirtProcr VirtProcr; |
| 123 typedef struct _IntervalProbe IntervalProbe; | 124 typedef struct _IntervalProbe IntervalProbe; |
| 124 typedef struct _GateStruc GateStruc; | 125 typedef struct _GateStruc GateStruc; |
| 125 | 126 |
| 126 | 127 |
| 127 typedef VirtProcr * (*SlaveScheduler) ( void *, int ); //semEnv, coreIdx | 128 typedef VirtProcr * (*SlaveScheduler) ( void *, int, int ); //semEnv, coreIdx |
| 128 typedef void (*RequestHandler) ( VirtProcr *, void * ); //prWReqst, semEnv | 129 typedef void (*RequestHandler) ( VirtProcr *, void * ); //prWReqst, semEnv |
| 129 typedef void (*VirtProcrFnPtr) ( void *, VirtProcr * ); //initData, animPr | 130 typedef void (*VirtProcrFnPtr) ( void *, VirtProcr * ); //initData, animPr |
| 130 typedef void VirtProcrFn ( void *, VirtProcr * ); //initData, animPr | 131 typedef void VirtProcrFn ( void *, VirtProcr * ); //initData, animPr |
| 131 typedef void (*ResumePrFnPtr) ( VirtProcr *, void * ); | 132 typedef void (*ResumePrFnPtr) ( VirtProcr *, void * ); |
| 132 | 133 |
| 277 #ifdef MEAS__PERF_COUNTERS // | 278 #ifdef MEAS__PERF_COUNTERS // |
| 278 CounterRecord** counter_history; | 279 CounterRecord** counter_history; |
| 279 PrivDynArrayInfo* counter_history_array_info; | 280 PrivDynArrayInfo* counter_history_array_info; |
| 280 #endif | 281 #endif |
| 281 #ifdef DETECT_LOOP_GRAPH | 282 #ifdef DETECT_LOOP_GRAPH |
| 282 bulb* loop_graph; | 283 |
| 283 PrivDynArrayInfo* loop_graph_array_info; | |
| 284 int loop_counter[NUM_CORES]; | |
| 285 #endif | 284 #endif |
| 286 } | 285 } |
| 287 MasterEnv; | 286 MasterEnv; |
| 288 | 287 |
| 289 //========================= Extra Stuff Data Strucs ======================= | 288 //========================= Extra Stuff Data Strucs ======================= |
