comparison VSs.h @ 20:a7ca8f45c1c4

fix coding standard to work with -std=gnu99 -Wall
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 25 Sep 2012 16:12:40 +0200
parents 58a71af04cd1
children feea343d202f
comparison
equal deleted inserted replaced
18:52073be9bbd8 19:6d780619484f
17 /* Switch for Nexus support 17 /* Switch for Nexus support
18 * Note: nexus incompatible with holistic recording (constraints not accessible) 18 * Note: nexus incompatible with holistic recording (constraints not accessible)
19 * But counter recording still functional, can build constraintless display 19 * But counter recording still functional, can build constraintless display
20 * with wallclock time 20 * with wallclock time
21 */ 21 */
22 #define EXTERNAL_SCHEDULER 22 //#define EXTERNAL_SCHEDULER
23 #define SIMULATE_EXTERNAL_SCHEDULER 23 //#define SIMULATE_EXTERNAL_SCHEDULER
24 24
25 //=========================================================================== 25 //===========================================================================
26 #define NUM_STRUCS_IN_SEM_ENV 1000 26 #define NUM_STRUCS_IN_SEM_ENV 1000
27 27
28 //This is hardware dependent -- it's the number of cycles of scheduling 28 //This is hardware dependent -- it's the number of cycles of scheduling
303 303
304 //======================= 304 //=======================
305 void 305 void
306 VSs__submit_task( VSsTaskType *taskType, void *args, SlaveVP *animSlv); 306 VSs__submit_task( VSsTaskType *taskType, void *args, SlaveVP *animSlv);
307 307
308 inline int32 * 308 int32 *
309 VSs__create_taskID_of_size( int32 numInts, SlaveVP *animSlv ); 309 VSs__create_taskID_of_size( int32 numInts, SlaveVP *animSlv );
310 310
311 void 311 void
312 VSs__submit_task_with_ID( VSsTaskType *taskType, void *args, int32 *taskID, 312 VSs__submit_task_with_ID( VSsTaskType *taskType, void *args, int32 *taskID,
313 SlaveVP *animSlv); 313 SlaveVP *animSlv);
318 //========================= 318 //=========================
319 void 319 void
320 VSs__taskwait(SlaveVP *animSlv); 320 VSs__taskwait(SlaveVP *animSlv);
321 321
322 322
323 inline int32 * 323 int32 *
324 VSs__give_self_taskID( SlaveVP *animSlv ); 324 VSs__give_self_taskID( SlaveVP *animSlv );
325 325
326 void 326 void
327 VSs__send_of_type_to( void *msg, const int32 type, int32 *receiverID, 327 VSs__send_of_type_to( void *msg, const int32 type, int32 *receiverID,
328 SlaveVP *senderSlv ); 328 SlaveVP *senderSlv );
384 SlaveVP *creatingSlv, int32 coreToAssignOnto); 384 SlaveVP *creatingSlv, int32 coreToAssignOnto);
385 385
386 void 386 void
387 idle_fn(void* data, SlaveVP *animatingSlv); 387 idle_fn(void* data, SlaveVP *animatingSlv);
388 388
389 void
390 resume_slaveVP(SlaveVP *slave, VSsSemEnv *semEnv);
391
389 //===================== Measurement of Lang Overheads ===================== 392 //===================== Measurement of Lang Overheads =====================
390 #include "Measurement/VSs_Measurement.h" 393 #include "Measurement/VSs_Measurement.h"
391 394
392 //=========================================================================== 395 //===========================================================================
393 #endif /* _VSs_H */ 396 #endif /* _VSs_H */