comparison SSR.h @ 65:51b8f15fea29

New states for sub-repos, almost works, just bug in shutdown to fix still
author Some Random Person <seanhalle@yahoo.com>
date Wed, 14 Mar 2012 23:22:00 -0700
parents 64bacf647af9
children ce95c4d84fcd b5b5323b4177
comparison
equal deleted inserted replaced
22:3f793be5d02e 23:9573b244bfbe
82 void *msg; 82 void *msg;
83 SSRSemReq *nextReqInHashEntry; 83 SSRSemReq *nextReqInHashEntry;
84 84
85 void *initData; 85 void *initData;
86 TopLevelFnPtr fnPtr; 86 TopLevelFnPtr fnPtr;
87 int32 coreToScheduleOnto; 87 int32 coreToAssignOnto;
88 88
89 int32 sizeToMalloc; 89 int32 sizeToMalloc;
90 void *ptrToFree; 90 void *ptrToFree;
91 91
92 int32 singletonID; 92 int32 singletonID;
180 SSR__create_procr_with( TopLevelFnPtr fnPtr, void *initData, 180 SSR__create_procr_with( TopLevelFnPtr fnPtr, void *initData,
181 SlaveVP *creatingSlv ); 181 SlaveVP *creatingSlv );
182 182
183 SlaveVP * 183 SlaveVP *
184 SSR__create_procr_with_affinity( TopLevelFnPtr fnPtr, void *initData, 184 SSR__create_procr_with_affinity( TopLevelFnPtr fnPtr, void *initData,
185 SlaveVP *creatingPr, int32 coreToScheduleOnto); 185 SlaveVP *creatingPr, int32 coreToAssignOnto);
186 186
187 void 187 void
188 SSR__dissipate_procr( SlaveVP *procrToDissipate ); 188 SSR__dissipate_procr( SlaveVP *procrToDissipate );
189 189
190 //======================= 190 //=======================
251 //========================= Internal use only ============================= 251 //========================= Internal use only =============================
252 void 252 void
253 SSR__Request_Handler( SlaveVP *requestingPr, void *_semEnv ); 253 SSR__Request_Handler( SlaveVP *requestingPr, void *_semEnv );
254 254
255 SlaveVP * 255 SlaveVP *
256 SSR__schedule_slaveVP( void *_semEnv, int coreNum, int slotNum ); 256 SSR__assign_slaveVP( void *_semEnv, int coreNum, SchedSlot *slot );
257 257
258 SlaveVP* 258 SlaveVP*
259 SSR__create_procr_helper( TopLevelFnPtr fnPtr, void *initData, 259 SSR__create_procr_helper( TopLevelFnPtr fnPtr, void *initData,
260 SSRSemEnv *semEnv, int32 coreToScheduleOnto ); 260 SSRSemEnv *semEnv, int32 coreToAssignOnto );
261 261
262 //===================== Measurement of Lang Overheads =====================
263 #include "SSR_Measurement.h"
264
265 //===========================================================================
262 #endif /* _SSR_H */ 266 #endif /* _SSR_H */
263 267