Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
diff SSR.c @ 67:b5b5323b4177
added debugging stuff
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Fri, 16 Mar 2012 23:41:31 -0700 |
| parents | bd5ab695145c |
| children | 81a0f076b12e |
line diff
1.1 --- a/SSR.c Wed Mar 14 23:22:00 2012 -0700 1.2 +++ b/SSR.c Fri Mar 16 23:41:31 2012 -0700 1.3 @@ -29,8 +29,8 @@ 1.4 * A: thinking pin the coreCtlrs for all of BLIS -- let Master arbitrate 1.5 * among library, DKU, WT, FoR -- all the patterns in terms of virtual 1.6 * processors (or equivalently work-units), so Master picks which virt procr 1.7 - * from which portions of app (DKU, WT, FoR) onto which sched slots 1.8 - *Might even do hierarchy of masters -- group of sched slots for each core 1.9 + * from which portions of app (DKU, WT, FoR) onto which anim slots 1.10 + *Might even do hierarchy of masters -- group of anim slots for each core 1.11 * has its own master, that keeps generated work local 1.12 * single-reader-single-writer sync everywhere -- no atomic primitives 1.13 * Might have the different assigners talk to each other, to negotiate 1.14 @@ -186,7 +186,7 @@ 1.15 1.16 //Hook up the semantic layer's plug-ins to the Master virt procr 1.17 _VMSMasterEnv->requestHandler = &SSR__Request_Handler; 1.18 - _VMSMasterEnv->slaveAssigner = &SSR__assign_slaveVP; 1.19 + _VMSMasterEnv->slaveAssigner = &SSR__assign_slaveVP_to_slot; 1.20 #ifdef HOLISTIC__TURN_ON_PERF_COUNTERS 1.21 _VMSMasterEnv->counterHandler = &SSR__counter_handler; 1.22 #endif 1.23 @@ -562,7 +562,7 @@ 1.24 1.25 void * 1.26 SSR__receive_type_to( const int type, SlaveVP *receivePr ) 1.27 - { 1.28 + { DEBUG__printf1(dbgRqstHdlr,"WL: receive type to: %d", receivePr->slaveID); 1.29 SSRSemReq reqData; 1.30 1.31 reqData.receivePr = receivePr; 1.32 @@ -585,7 +585,8 @@ 1.33 */ 1.34 void * 1.35 SSR__receive_from_to( SlaveVP *sendPr, SlaveVP *receivePr ) 1.36 - { SSRSemReq reqData; 1.37 + { DEBUG__printf2(dbgRqstHdlr,"WL: receive from %d to: %d", sendPr->slaveID, receivePr->slaveID); 1.38 + SSRSemReq reqData; 1.39 1.40 //hash on the receiver, 'cause always know it, but sometimes want to 1.41 // receive from anonymous sender
