VMS/VMS_Projects/VMS_Projects__MC_shared/SSR/SSR__Blocked_Matrix_Mult__MC_shared__Proj

changeset 14:77d6110da66b

Updated default branch to working versions of all the sub repos
author Sean Halle <seanhalle@yahoo.com>
date Mon, 10 Sep 2012 01:11:54 -0700
parents 93d7f784c4f7
children 644a9eb0dc04
files .hgsubstate src/VMS_defs__turn_on_and_off.h
diffstat 2 files changed, 93 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/.hgsubstate	Tue Feb 07 14:17:25 2012 -0800
     1.2 +++ b/.hgsubstate	Mon Sep 10 01:11:54 2012 -0700
     1.3 @@ -1,8 +1,8 @@
     1.4 -387f3084d9bb253d9217977e82f24a138ec525a4 src/Application
     1.5 -601709e9f2a416e356e2f77e3980cb5042bfc4b9 src/C_Libraries/DynArray
     1.6 -8bafd14e9fde67082fb08186463a4803bc25b428 src/C_Libraries/Hash_impl
     1.7 -20410d90dabbfee1fff8a3b48c6cf6090603e8ea src/C_Libraries/Histogram
     1.8 -d46150af45adf8e814ea46adc8f928e79bb9ee8a src/C_Libraries/ParamHelper
     1.9 -1ed562d601d9b42daaeb0ea22d4ed5d93b2ffa47 src/C_Libraries/Queue_impl
    1.10 -6dd906e3c9a48fcc1cb31f2d49ce58afd5474461 src/VMS_Implementations/SSR_impl
    1.11 -934d2b52ab0bb16a0f13df06a1efe0aee628164a src/VMS_Implementations/VMS_impl
    1.12 +efc1ee85f1eecb0db2d8166ffcf7929dbe34fa4a src/Application
    1.13 +4f386058d46c6e3bd2bae42c95137934ca522a4c src/C_Libraries/DynArray
    1.14 +b398837ef4aaeba34d26f6c425e5fefabdad88c8 src/C_Libraries/Hash_impl
    1.15 +a9e071e01e07ef87b45be17c908519d93673efeb src/C_Libraries/Histogram
    1.16 +253da493308e4bbf85c6a1b8ef9599734a67841a src/C_Libraries/ParamHelper
    1.17 +b66352de717efa94b458d04094591ba1ba9b03ba src/C_Libraries/Queue_impl
    1.18 +833b31a8abc115b6d5b77841e8042231e717dd38 src/VMS_Implementations/SSR_impl
    1.19 +2341dd0490359a567c9d1f1967e844c9c1d2b462 src/VMS_Implementations/VMS_impl
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/src/VMS_defs__turn_on_and_off.h	Mon Sep 10 01:11:54 2012 -0700
     2.3 @@ -0,0 +1,85 @@
     2.4 +/*
     2.5 + *  Copyright 2009 OpenSourceStewardshipFoundation.org
     2.6 + *  Licensed under GNU General Public License version 2
     2.7 + *
     2.8 + * Author: seanhalle@yahoo.com
     2.9 + * 
    2.10 + */
    2.11 +
    2.12 +#ifndef _VMS_DEFS_TURN_ON_AND_OFF_H
    2.13 +#define _VMS_DEFS_TURN_ON_AND_OFF_H
    2.14 +#define _GNU_SOURCE
    2.15 +
    2.16 +//======================  Turn Debug things on and off  =====================
    2.17 +/*When DEBUG__TURN_ON_SEQUENTIAL_MODE is defined, VMS does sequential exe in the main thread
    2.18 + * It still does co-routines and all the mechanisms are the same, it just
    2.19 + * has only a single thread and animates Slvs one at a time
    2.20 + */
    2.21 +//#define DEBUG__TURN_ON_SEQUENTIAL_MODE
    2.22 +
    2.23 +
    2.24 +/*turns on the probe-instrumentation in the application -- when not
    2.25 + * defined, the calls to the probe functions turn into comments
    2.26 + */
    2.27 +#define DEBUG__TURN_ON_DEBUG_PRINT
    2.28 +
    2.29 +/*These defines turn types of bug messages on and off
    2.30 + */
    2.31 +#define dbgAppFlow   TRUE /* Top level flow of application code -- general*/
    2.32 +#define dbgProbes    FALSE /* for issues inside probes themselves*/
    2.33 +#define dbgB2BMaster FALSE /* in coreloop, back to back master Slvs*/
    2.34 +#define dbgRqstHdlr  TRUE /* in request handler code*/
    2.35 +#define dbgSS        TRUE /* in request handler code*/
    2.36 +
    2.37 +//#define DEBUG__TURN_ON_ERROR_MSGS
    2.38 +
    2.39 +//==============  Turn optional services on and off ===============
    2.40 +
    2.41 +/*The PR implementation of malloc is instrumented with valgrind, which allows
    2.42 + * detecting memory leaks and overrun errors.. but requires separately installing
    2.43 + * valgrind.. so it is normally off..  this compiler flag turns it on..
    2.44 + */
    2.45 +//#define SERVICE__TURN_ON_VALGRIND
    2.46 +
    2.47 +/*Probes are used in the application as a cheap, convenient, and fast way
    2.48 + * to collect statistics.  Define this to enable them, else the probe
    2.49 + * statements in the application code all turn into empty whitespace
    2.50 + * in the pre-processor
    2.51 + */
    2.52 +//#define SERVICE__TURN_ON_STATS_PROBES
    2.53 +
    2.54 +/*When SERVICE__TURN_ON_STATS_PROBES is defined, turn on one of these to choose
    2.55 + * what kind of measurement the probes store
    2.56 + */
    2.57 +//#define PROBES__USE_TSC_PROBES
    2.58 +#define PROBES__USE_TIME_OF_DAY_PROBES
    2.59 +//#define PROBES__USE_PERF_CTR_PROBES
    2.60 +
    2.61 +//==============  Turn Internal Measurement Things on and off ===============
    2.62 +
    2.63 +//#define MEAS__TURN_ON_SUSP_MEAS
    2.64 +//#define MEAS__TURN_ON_MASTER_MEAS
    2.65 +//#define MEAS__TURN_ON_MASTER_LOCK_MEAS
    2.66 +//#define MEAS__TURN_ON_MALLOC_MEAS
    2.67 +//#define MEAS__TURN_ON_PLUGIN_MEAS
    2.68 +//#define MEAS__TURN_ON_SYSTEM_MEAS
    2.69 +
    2.70 +   /*turn on/off subtraction of create measurements from plugin meas*/
    2.71 +//#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME 
    2.72 +
    2.73 +/*Enable collection of Holistic model data*/
    2.74 +//#define HOLISTIC__TURN_ON_PERF_COUNTERS
    2.75 +//#define HOLISTIC__TURN_ON_OBSERVE_UCC
    2.76 +
    2.77 +//===================  Turn on or off system options  =======================
    2.78 +//
    2.79 +/*Defining SYS__TURN_ON_WORK_STEALING causes the core controller behavior
    2.80 + * to change.  When it detects too many back-to-back masters, then it 
    2.81 + * searches the other core controllers, looking for work it can steal from
    2.82 + * them.
    2.83 + */
    2.84 +//#define SYS__TURN_ON_WORK_STEALING
    2.85 +
    2.86 +//===========================================================================
    2.87 +#endif	/*  */
    2.88 +