summaryrefslogtreecommitdiffstats
path: root/include/splat-ctl.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-22 16:55:26 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-22 16:55:26 +0000
commitb831734a4360aa7ae34a36e55bbe6a1c9a40b01e (patch)
treee969e1e94bc6c8ad4228b07dd53dde3aba89b013 /include/splat-ctl.h
parent7fea96c04f87a02efc27207629d13f9b2a14ac55 (diff)
Stack usage is my enemy. Trade cpu cycles in the debug code to
ensure I never add anything to the stack I don't absolutely need. All this debug code could be removed from a production build anyway so I'm not so worried about the performance impact. We may also consider revisting the mutex and condvar implementation to ensure no additional stack is used there. Initial indications are I have reduced the worst case stack usage to 9080 bytes. Still to large for the default 8k stacks so I have been forced to run with 16k stacks until I can reduce the worst offenders. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@83 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/splat-ctl.h')
-rw-r--r--include/splat-ctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/splat-ctl.h b/include/splat-ctl.h
index d905340fb..5be5e3a4a 100644
--- a/include/splat-ctl.h
+++ b/include/splat-ctl.h
@@ -52,8 +52,8 @@ typedef struct splat_cmd {
/* Valid configuration commands */
#define SPLAT_CFG_BUFFER_CLEAR 0x001 /* Clear text buffer */
#define SPLAT_CFG_BUFFER_SIZE 0x002 /* Resize text buffer */
-#define SPLAT_CFG_SUBSYSTEM_COUNT 0x101 /* Number of subsystem */
-#define SPLAT_CFG_SUBSYSTEM_LIST 0x102 /* List of N subsystems */
+#define SPLAT_CFG_SUBSYSTEM_COUNT 0x101 /* Number of subsystem */
+#define SPLAT_CFG_SUBSYSTEM_LIST 0x102 /* List of N subsystems */
#define SPLAT_CFG_TEST_COUNT 0x201 /* Number of tests */
#define SPLAT_CFG_TEST_LIST 0x202 /* List of N tests */