# HG changeset patch # User Some Random Person # Date 1331444985 28800 # Node ID 64bacf647af9fcfe277e32001817d4d4616ababa # Parent 33b2eb9af81a3cd640c36e39d351c44075ad0cce moved #define of min work unit to ssr.h diff -r 33b2eb9af81a -r 64bacf647af9 SSR.h --- a/SSR.h Sat Mar 10 20:35:38 2012 -0800 +++ b/SSR.h Sat Mar 10 21:49:45 2012 -0800 @@ -18,6 +18,13 @@ //=========================================================================== #define NUM_STRUCS_IN_SEM_ENV 1000 + //This is hardware dependent -- it's the number of cycles of scheduling + // overhead -- if a work unit is fewer than this, it is better being + // combined sequentially with other work + //This value depends on both VMS overhead and SSR's plugin. At some point + // it will be derived by perf-counter measurements during init of SSR +#define MIN_WORK_UNIT_CYCLES 20000 + //=========================================================================== /*This header defines everything specific to the SSR semantic plug-in */