VMS/VMS_Projects/VMS_Projects__MC_shared/SSR/SSR__Blocked_Matrix_Mult__MC_shared__Proj

changeset 13:1414b33881aa __stats_for_Holistic_Model

working version (w/ old hash impl)
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 28 Aug 2012 13:40:07 +0200
parents d3288114649f
children c23f215ccd67
files .hgsubstate src/VMS_Implementations/VMS_defs__turn_on_and_off.h
diffstat 2 files changed, 82 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/.hgsubstate	Sun Jul 15 02:07:22 2012 -0700
     1.2 +++ b/.hgsubstate	Tue Aug 28 13:40:07 2012 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4  8972c00c00dd4d2e56473bc19a70bf766e34b139 src/Application
     1.5  6d4e6529335e4fe09354570039fdd5f2d676c979 src/C_Libraries/DynArray
     1.6 -b398837ef4aaeba34d26f6c425e5fefabdad88c8 src/C_Libraries/Hash_impl
     1.7 +f5972b1ddb2949cca17df4d75cbe3d358ddcd82a src/C_Libraries/Hash_impl
     1.8  0d2f5b1db610c18efafcbddb06bebe4ca27013ee src/C_Libraries/Histogram
     1.9  5df9392eca1a7795f2dd0addd2c89fd423bf15ed src/C_Libraries/ListOfArrays
    1.10  253da493308e4bbf85c6a1b8ef9599734a67841a src/C_Libraries/ParamHelper
    1.11  b9cb01d8ce569a10a031cf37d2aec59b7b12c621 src/C_Libraries/Queue_impl
    1.12 -6647aea904770351b7273d872740b7e472a4e84d src/VMS_Implementations/SSR_impl
    1.13 -ce781bd98ddbdeaa1405318d2a859d06a20f311b src/VMS_Implementations/VMS_impl
    1.14 +833b31a8abc115b6d5b77841e8042231e717dd38 src/VMS_Implementations/SSR_impl
    1.15 +e7539330735af5d59cd09249e066d8153806f26f src/VMS_Implementations/VMS_impl
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/src/VMS_Implementations/VMS_defs__turn_on_and_off.h	Tue Aug 28 13:40:07 2012 +0200
     2.3 @@ -0,0 +1,79 @@
     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 Probe Things on and off ====================
    2.40 +/*Probes are used in the application as a cheap, convenient, and fast way
    2.41 + * to collect statistics.  Define this to enable them, else the probe
    2.42 + * statements in the application code all turn into empty whitespace
    2.43 + * in the pre-processor
    2.44 + */
    2.45 +//#define PROBES__TURN_ON_STATS_PROBES
    2.46 +
    2.47 +/*When PROBES__TURN_ON_STATS_PROBES is defined, turn on one of these to choose
    2.48 + * what kind of measurement the probes store
    2.49 + */
    2.50 +//#define PROBES__USE_TSC_PROBES
    2.51 +#define PROBES__USE_TIME_OF_DAY_PROBES
    2.52 +//#define PROBES__USE_PERF_CTR_PROBES
    2.53 +
    2.54 +
    2.55 +//==============  Turn Internal Measurement Things on and off ===============
    2.56 +
    2.57 +//#define MEAS__TURN_ON_SUSP_MEAS
    2.58 +//#define MEAS__TURN_ON_MASTER_MEAS
    2.59 +//#define MEAS__TURN_ON_MASTER_LOCK_MEAS
    2.60 +//#define MEAS__TURN_ON_MALLOC_MEAS
    2.61 +//#define MEAS__TURN_ON_PLUGIN_MEAS
    2.62 +//#define MEAS__TURN_ON_SYSTEM_MEAS
    2.63 +
    2.64 +   /*turn on/off subtraction of create measurements from plugin meas*/
    2.65 +//#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME 
    2.66 +
    2.67 +#define HOLISTIC__TURN_ON_PERF_COUNTERS
    2.68 +#define HOLISTIC__TURN_ON_OBSERVE_UCC
    2.69 +//#define DETECT_LOOP_GRAPH
    2.70 +
    2.71 +//===================  Turn on or off system options  =======================
    2.72 +//
    2.73 +/*Defining SYS__TURN_ON_WORK_STEALING causes the core controller behavior
    2.74 + * to change.  When it detects too many back-to-back masters, then it 
    2.75 + * searches the other core controllers, looking for work it can steal from
    2.76 + * them.
    2.77 + */
    2.78 +//#define SYS__TURN_ON_WORK_STEALING
    2.79 +
    2.80 +//===========================================================================
    2.81 +#endif	/*  */
    2.82 +