Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
comparison SSR.c @ 84:ce07f1a42ddf
Added skeleton for data tracking assigner + design notes
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 10 Jan 2013 11:16:42 -0800 |
| parents | 724b5fbcdd57 |
| children |
comparison
equal
deleted
inserted
replaced
| 10:2cca360ef184 | 11:74aad811018d |
|---|---|
| 248 semanticEnv->fnSingletons[i].hasBeenStarted = FALSE; | 248 semanticEnv->fnSingletons[i].hasBeenStarted = FALSE; |
| 249 semanticEnv->fnSingletons[i].hasFinished = FALSE; | 249 semanticEnv->fnSingletons[i].hasFinished = FALSE; |
| 250 semanticEnv->fnSingletons[i].waitQ = makeVMSQ(); | 250 semanticEnv->fnSingletons[i].waitQ = makeVMSQ(); |
| 251 semanticEnv->transactionStrucs[i].waitingVPQ = makeVMSQ(); | 251 semanticEnv->transactionStrucs[i].waitingVPQ = makeVMSQ(); |
| 252 } | 252 } |
| 253 | 253 |
| 254 VMSCommNode * | 254 initAssigner( semanticEnv ); |
| 255 systemNode = VMS_SS__give_comm_hierarchy(); //this is read only!! | |
| 256 | |
| 257 //Do something with the comm system here.. make own, faster, data | |
| 258 // structure that is used by assigner -- it can include info about | |
| 259 // measured miss rates, and structures that track the data.. | |
| 260 //Next step would be to take a shot at a function call to put into the | |
| 261 // application that gives a "name" to collection of data consumed by | |
| 262 // a work-unit, and a name to the data produced.. along with the size | |
| 263 // each of those named collections. | |
| 264 //Then, can come up with a way to represent how much of each | |
| 265 // named data collection that resides in each of the caches. Keep that | |
| 266 // representation in the data structure that build from parsing the | |
| 267 // comm system returned from VMS. | |
| 268 } | 255 } |
| 269 | 256 |
| 270 | 257 |
| 271 /*Frees any memory allocated by SSR__init() then calls VMS_int__shutdown | 258 /*Frees any memory allocated by SSR__init() then calls VMS_int__shutdown |
| 272 */ | 259 */ |
