VMS/VMS_Projects/VMS_Projects__MC_shared/Vthread/Vthread__exe_time_vs_task_size__MC_shared__Proj

changeset 8:6527d36ecc86

Middle of updating to latest revision of repos -- doesn't work yet
author Sean Halle <seanhalle@yahoo.com>
date Mon, 17 Sep 2012 18:07:32 -0700
parents 06cf202fca89
children adce5175e086
files .hgignore .hgsub .hgsubstate src/VMS_Implementations/VMS_defs__turn_on_and_off.h
diffstat 4 files changed, 99 insertions(+), 10 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/.hgignore	Mon Sep 17 18:07:32 2012 -0700
     1.3 @@ -0,0 +1,10 @@
     1.4 +syntax: glob
     1.5 +
     1.6 +histograms
     1.7 +nbproject
     1.8 +build
     1.9 +dist
    1.10 +c-ray-mt
    1.11 +*.ppm
    1.12 +*.o
    1.13 +*~
     2.1 --- a/.hgsub	Fri Feb 10 19:38:59 2012 +0100
     2.2 +++ b/.hgsub	Mon Sep 17 18:07:32 2012 -0700
     2.3 @@ -1,7 +1,7 @@
     2.4  
     2.5 -src/Application = ../../../../Applications/Vthread/Vthread__Exe_Time_Vs_Task_Size__Meas
     2.6 +src/Application = ../../../../Applications/Vthread/Vthread__Blocked_Matrix_Mult__Meas
     2.7  
     2.8 -src/VMS_Implementations/Vthread_impl = ../../../../VMS_Implementations/Vthread_impls/Vthread_MC_shared_impl
     2.9 +src/VMS_Implementations/Vthread_impl = ../../../../VMS_Implementations/Vthread_impls/Vthread__MC_shared_impl
    2.10  src/VMS_Implementations/VMS_impl = ../../../../VMS_Implementations/VMS_impls/VMS__MC_shared_impl
    2.11  
    2.12  src/C_Libraries/DynArray = ../../../../C_Libraries/DynArray
     3.1 --- a/.hgsubstate	Fri Feb 10 19:38:59 2012 +0100
     3.2 +++ b/.hgsubstate	Mon Sep 17 18:07:32 2012 -0700
     3.3 @@ -1,8 +1,8 @@
     3.4 -a1269b1549fc2cb4180809e8df40fb948e6c38e5 src/Application
     3.5 -601709e9f2a416e356e2f77e3980cb5042bfc4b9 src/C_Libraries/DynArray
     3.6 -8bafd14e9fde67082fb08186463a4803bc25b428 src/C_Libraries/Hash_impl
     3.7 -20410d90dabbfee1fff8a3b48c6cf6090603e8ea src/C_Libraries/Histogram
     3.8 -d46150af45adf8e814ea46adc8f928e79bb9ee8a src/C_Libraries/ParamHelper
     3.9 -1ed562d601d9b42daaeb0ea22d4ed5d93b2ffa47 src/C_Libraries/Queue_impl
    3.10 -934d2b52ab0bb16a0f13df06a1efe0aee628164a src/VMS_Implementations/VMS_impl
    3.11 -c1c36be9c47a0399613aff797e0c88f34d15aa0c src/VMS_Implementations/Vthread_impl
    3.12 +474189d1d6ee2e5bf85beb23866fcac5f43ffe37 src/Application
    3.13 +7adf81960d1058509287d02f2df2d9c158b2b2d4 src/C_Libraries/DynArray
    3.14 +b398837ef4aaeba34d26f6c425e5fefabdad88c8 src/C_Libraries/Hash_impl
    3.15 +0d2f5b1db610c18efafcbddb06bebe4ca27013ee src/C_Libraries/Histogram
    3.16 +253da493308e4bbf85c6a1b8ef9599734a67841a src/C_Libraries/ParamHelper
    3.17 +b9cb01d8ce569a10a031cf37d2aec59b7b12c621 src/C_Libraries/Queue_impl
    3.18 +2bcf37fd50c6fb02d45a55ce4cf3efb2c0de86c9 src/VMS_Implementations/VMS_impl
    3.19 +b94dc57e4455592afe8b31ada9590529724d4cfb src/VMS_Implementations/Vthread_impl
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/src/VMS_Implementations/VMS_defs__turn_on_and_off.h	Mon Sep 17 18:07:32 2012 -0700
     4.3 @@ -0,0 +1,79 @@
     4.4 +/*
     4.5 + *  Copyright 2009 OpenSourceStewardshipFoundation.org
     4.6 + *  Licensed under GNU General Public License version 2
     4.7 + *
     4.8 + * Author: seanhalle@yahoo.com
     4.9 + * 
    4.10 + */
    4.11 +
    4.12 +#ifndef _VMS_DEFS_TURN_ON_AND_OFF_H
    4.13 +#define _VMS_DEFS_TURN_ON_AND_OFF_H
    4.14 +#define _GNU_SOURCE
    4.15 +
    4.16 +//======================  Turn Debug things on and off  =====================
    4.17 +/*When DEBUG__TURN_ON_SEQUENTIAL_MODE is defined, VMS does sequential exe in the main thread
    4.18 + * It still does co-routines and all the mechanisms are the same, it just
    4.19 + * has only a single thread and animates Slvs one at a time
    4.20 + */
    4.21 +//#define DEBUG__TURN_ON_SEQUENTIAL_MODE
    4.22 +
    4.23 +
    4.24 +/*turns on the probe-instrumentation in the application -- when not
    4.25 + * defined, the calls to the probe functions turn into comments
    4.26 + */
    4.27 +#define DEBUG__TURN_ON_DEBUG_PRINT
    4.28 +
    4.29 +/*These defines turn types of bug messages on and off
    4.30 + */
    4.31 +#define dbgAppFlow   TRUE /* Top level flow of application code -- general*/
    4.32 +#define dbgProbes    FALSE /* for issues inside probes themselves*/
    4.33 +#define dbgB2BMaster FALSE /* in coreloop, back to back master Slvs*/
    4.34 +#define dbgRqstHdlr  TRUE /* in request handler code*/
    4.35 +#define dbgSS        TRUE /* in request handler code*/
    4.36 +
    4.37 +//#define DEBUG__TURN_ON_ERROR_MSGS
    4.38 +
    4.39 +//==================  Turn Probe Things on and off ====================
    4.40 +/*Probes are used in the application as a cheap, convenient, and fast way
    4.41 + * to collect statistics.  Define this to enable them, else the probe
    4.42 + * statements in the application code all turn into empty whitespace
    4.43 + * in the pre-processor
    4.44 + */
    4.45 +//#define PROBES__TURN_ON_STATS_PROBES
    4.46 +
    4.47 +/*When PROBES__TURN_ON_STATS_PROBES is defined, turn on one of these to choose
    4.48 + * what kind of measurement the probes store
    4.49 + */
    4.50 +//#define PROBES__USE_TSC_PROBES
    4.51 +#define PROBES__USE_TIME_OF_DAY_PROBES
    4.52 +//#define PROBES__USE_PERF_CTR_PROBES
    4.53 +
    4.54 +
    4.55 +//==============  Turn Internal Measurement Things on and off ===============
    4.56 +
    4.57 +//#define MEAS__TURN_ON_SUSP_MEAS
    4.58 +//#define MEAS__TURN_ON_MASTER_MEAS
    4.59 +//#define MEAS__TURN_ON_MASTER_LOCK_MEAS
    4.60 +//#define MEAS__TURN_ON_MALLOC_MEAS
    4.61 +//#define MEAS__TURN_ON_PLUGIN_MEAS
    4.62 +//#define MEAS__TURN_ON_SYSTEM_MEAS
    4.63 +
    4.64 +   /*turn on/off subtraction of create measurements from plugin meas*/
    4.65 +//#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME 
    4.66 +
    4.67 +//#define HOLISTIC__TURN_ON_PERF_COUNTERS
    4.68 +//#define HOLISTIC__TURN_ON_OBSERVE_UCC
    4.69 +//#define DETECT_LOOP_GRAPH
    4.70 +
    4.71 +//===================  Turn on or off system options  =======================
    4.72 +//
    4.73 +/*Defining SYS__TURN_ON_WORK_STEALING causes the core controller behavior
    4.74 + * to change.  When it detects too many back-to-back masters, then it 
    4.75 + * searches the other core controllers, looking for work it can steal from
    4.76 + * them.
    4.77 + */
    4.78 +//#define SYS__TURN_ON_WORK_STEALING
    4.79 +
    4.80 +//===========================================================================
    4.81 +#endif	/*  */
    4.82 +