changeset 62:64bacf647af9 Holistic_Model

moved #define of min work unit to ssr.h
author Some Random Person <seanhalle@yahoo.com>
date Sat, 10 Mar 2012 21:49:45 -0800
parents 33b2eb9af81a
children a32504bb2a1c
files SSR.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/SSR.h	Sat Mar 10 20:35:38 2012 -0800
     1.2 +++ b/SSR.h	Sat Mar 10 21:49:45 2012 -0800
     1.3 @@ -18,6 +18,13 @@
     1.4  //===========================================================================
     1.5  #define NUM_STRUCS_IN_SEM_ENV 1000
     1.6  
     1.7 +   //This is hardware dependent -- it's the number of cycles of scheduling
     1.8 +   // overhead -- if a work unit is fewer than this, it is better being
     1.9 +   // combined sequentially with other work
    1.10 +   //This value depends on both VMS overhead and SSR's plugin.  At some point
    1.11 +   // it will be derived by perf-counter measurements during init of SSR
    1.12 +#define MIN_WORK_UNIT_CYCLES 20000
    1.13 +
    1.14  //===========================================================================
    1.15  /*This header defines everything specific to the SSR semantic plug-in
    1.16   */