VMS/VMS_Implementations/VMS_impls/VMS__MC_shared_impl

changeset 248:da08f9717024 Common_Ancestor

Moved VMS_defs__turn_on_and_off.h outside of VMS repo, into project repo
author Sean Halle <seanhalle@yahoo.com>
date Sat, 21 Jul 2012 15:20:40 -0700
parents ce781bd98ddb
children 88fd330feef3
files Defines/VMS_defs__turn_on_and_off.h
diffstat 1 files changed, 0 insertions(+), 79 deletions(-) [+]
line diff
     1.1 --- a/Defines/VMS_defs__turn_on_and_off.h	Thu Jul 05 11:43:11 2012 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,79 +0,0 @@
     1.4 -/*
     1.5 - *  Copyright 2009 OpenSourceStewardshipFoundation.org
     1.6 - *  Licensed under GNU General Public License version 2
     1.7 - *
     1.8 - * Author: seanhalle@yahoo.com
     1.9 - * 
    1.10 - */
    1.11 -
    1.12 -#ifndef _VMS_DEFS_TURN_ON_AND_OFF_H
    1.13 -#define _VMS_DEFS_TURN_ON_AND_OFF_H
    1.14 -#define _GNU_SOURCE
    1.15 -
    1.16 -//======================  Turn Debug things on and off  =====================
    1.17 -/*When DEBUG__TURN_ON_SEQUENTIAL_MODE is defined, VMS does sequential exe in the main thread
    1.18 - * It still does co-routines and all the mechanisms are the same, it just
    1.19 - * has only a single thread and animates Slvs one at a time
    1.20 - */
    1.21 -#define DEBUG__TURN_ON_SEQUENTIAL_MODE
    1.22 -
    1.23 -
    1.24 -/*turns on the probe-instrumentation in the application -- when not
    1.25 - * defined, the calls to the probe functions turn into comments
    1.26 - */
    1.27 -#define DEBUG__TURN_ON_DEBUG_PRINT
    1.28 -
    1.29 -/*These defines turn types of bug messages on and off
    1.30 - */
    1.31 -#define dbgAppFlow   TRUE /* Top level flow of application code -- general*/
    1.32 -#define dbgProbes    FALSE /* for issues inside probes themselves*/
    1.33 -#define dbgB2BMaster FALSE /* in coreloop, back to back master Slvs*/
    1.34 -#define dbgRqstHdlr  TRUE /* in request handler code*/
    1.35 -#define dbgSS        TRUE /* in request handler code*/
    1.36 -
    1.37 -//#define DEBUG__TURN_ON_ERROR_MSGS
    1.38 -
    1.39 -//==================  Turn Probe Things on and off ====================
    1.40 -/*Probes are used in the application as a cheap, convenient, and fast way
    1.41 - * to collect statistics.  Define this to enable them, else the probe
    1.42 - * statements in the application code all turn into empty whitespace
    1.43 - * in the pre-processor
    1.44 - */
    1.45 -//#define PROBES__TURN_ON_STATS_PROBES
    1.46 -
    1.47 -/*When PROBES__TURN_ON_STATS_PROBES is defined, turn on one of these to choose
    1.48 - * what kind of measurement the probes store
    1.49 - */
    1.50 -//#define PROBES__USE_TSC_PROBES
    1.51 -#define PROBES__USE_TIME_OF_DAY_PROBES
    1.52 -//#define PROBES__USE_PERF_CTR_PROBES
    1.53 -
    1.54 -
    1.55 -//==============  Turn Internal Measurement Things on and off ===============
    1.56 -
    1.57 -//#define MEAS__TURN_ON_SUSP_MEAS
    1.58 -//#define MEAS__TURN_ON_MASTER_MEAS
    1.59 -//#define MEAS__TURN_ON_MASTER_LOCK_MEAS
    1.60 -//#define MEAS__TURN_ON_MALLOC_MEAS
    1.61 -//#define MEAS__TURN_ON_PLUGIN_MEAS
    1.62 -//#define MEAS__TURN_ON_SYSTEM_MEAS
    1.63 -
    1.64 -   /*turn on/off subtraction of create measurements from plugin meas*/
    1.65 -//#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME 
    1.66 -
    1.67 -//#define HOLISTIC__TURN_ON_PERF_COUNTERS
    1.68 -//#define HOLISTIC__TURN_ON_OBSERVE_UCC
    1.69 -//#define DETECT_LOOP_GRAPH
    1.70 -
    1.71 -//===================  Turn on or off system options  =======================
    1.72 -//
    1.73 -/*Defining SYS__TURN_ON_WORK_STEALING causes the core controller behavior
    1.74 - * to change.  When it detects too many back-to-back masters, then it 
    1.75 - * searches the other core controllers, looking for work it can steal from
    1.76 - * them.
    1.77 - */
    1.78 -//#define SYS__TURN_ON_WORK_STEALING
    1.79 -
    1.80 -//===========================================================================
    1.81 -#endif	/*  */
    1.82 -