VMS/VMS_Projects/VMS_Projects__MC_shared/SSR/SSR__Blocked_Matrix_Mult__MC_shared__Proj

view src/VMS_Implementations/VMS_defs__turn_on_and_off.h @ 13:1414b33881aa

working version (w/ old hash impl)
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 28 Aug 2012 13:40:07 +0200
parents
children
line source
1 /*
2 * Copyright 2009 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * Author: seanhalle@yahoo.com
6 *
7 */
9 #ifndef _VMS_DEFS_TURN_ON_AND_OFF_H
10 #define _VMS_DEFS_TURN_ON_AND_OFF_H
11 #define _GNU_SOURCE
13 //====================== Turn Debug things on and off =====================
14 /*When DEBUG__TURN_ON_SEQUENTIAL_MODE is defined, VMS does sequential exe in the main thread
15 * It still does co-routines and all the mechanisms are the same, it just
16 * has only a single thread and animates Slvs one at a time
17 */
18 //#define DEBUG__TURN_ON_SEQUENTIAL_MODE
21 /*turns on the probe-instrumentation in the application -- when not
22 * defined, the calls to the probe functions turn into comments
23 */
24 //#define DEBUG__TURN_ON_DEBUG_PRINT
26 /*These defines turn types of bug messages on and off
27 */
28 #define dbgAppFlow TRUE /* Top level flow of application code -- general*/
29 #define dbgProbes FALSE /* for issues inside probes themselves*/
30 #define dbgB2BMaster FALSE /* in coreloop, back to back master Slvs*/
31 #define dbgRqstHdlr TRUE /* in request handler code*/
32 #define dbgSS TRUE /* in request handler code*/
34 //#define DEBUG__TURN_ON_ERROR_MSGS
36 //================== Turn Probe Things on and off ====================
37 /*Probes are used in the application as a cheap, convenient, and fast way
38 * to collect statistics. Define this to enable them, else the probe
39 * statements in the application code all turn into empty whitespace
40 * in the pre-processor
41 */
42 //#define PROBES__TURN_ON_STATS_PROBES
44 /*When PROBES__TURN_ON_STATS_PROBES is defined, turn on one of these to choose
45 * what kind of measurement the probes store
46 */
47 //#define PROBES__USE_TSC_PROBES
48 #define PROBES__USE_TIME_OF_DAY_PROBES
49 //#define PROBES__USE_PERF_CTR_PROBES
52 //============== Turn Internal Measurement Things on and off ===============
54 //#define MEAS__TURN_ON_SUSP_MEAS
55 //#define MEAS__TURN_ON_MASTER_MEAS
56 //#define MEAS__TURN_ON_MASTER_LOCK_MEAS
57 //#define MEAS__TURN_ON_MALLOC_MEAS
58 //#define MEAS__TURN_ON_PLUGIN_MEAS
59 //#define MEAS__TURN_ON_SYSTEM_MEAS
61 /*turn on/off subtraction of create measurements from plugin meas*/
62 //#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME
64 #define HOLISTIC__TURN_ON_PERF_COUNTERS
65 #define HOLISTIC__TURN_ON_OBSERVE_UCC
66 //#define DETECT_LOOP_GRAPH
68 //=================== Turn on or off system options =======================
69 //
70 /*Defining SYS__TURN_ON_WORK_STEALING causes the core controller behavior
71 * to change. When it detects too many back-to-back masters, then it
72 * searches the other core controllers, looking for work it can steal from
73 * them.
74 */
75 //#define SYS__TURN_ON_WORK_STEALING
77 //===========================================================================
78 #endif /* */