changeset 18:bb2500771be8 V0

merge test head
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 07 Sep 2011 18:08:29 +0200
parents bbcb6fadb60f f593241c2db9
children 4977aea58ca0 a6b1b0946c8a
files VPThread.h VPThread_PluginFns.c
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/VPThread.h	Mon Aug 15 16:44:09 2011 +0200
     1.2 +++ b/VPThread.h	Wed Sep 07 18:08:29 2011 +0200
     1.3 @@ -255,5 +255,22 @@
     1.4  void inline
     1.5  resume_procr( VirtProcr *procr, VPThdSemEnv *semEnv );
     1.6  
     1.7 +//=======================
     1.8 +
     1.9 +inline int32
    1.10 +VPThread__giveMinWorkUnitCycles( float32 percentOverhead );
    1.11 +
    1.12 +inline int32
    1.13 +VPThread__giveIdealNumWorkUnits();
    1.14 +
    1.15 +inline int32
    1.16 +VPThread__give_number_of_cores_to_schedule_onto();
    1.17 +
    1.18 +inline void
    1.19 +VPThread__start_primitive();
    1.20 +
    1.21 +inline int32
    1.22 +VPThread__end_primitive_and_give_cycles();
    1.23 +
    1.24  #endif	/* _VPThread_H */
    1.25  
     2.1 --- a/VPThread_PluginFns.c	Mon Aug 15 16:44:09 2011 +0200
     2.2 +++ b/VPThread_PluginFns.c	Wed Sep 07 18:08:29 2011 +0200
     2.3 @@ -131,6 +131,8 @@
     2.4           break;
     2.5        case trans_end:    handleTransEnd( semReq, reqPr, semEnv);
     2.6           break;
     2.7 +      default:
     2.8 +         break;
     2.9      }
    2.10   }
    2.11