summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-28 00:24:59 -0700
committerKeith Packard <keithp@keithp.com>2013-10-28 00:24:59 -0700
commitd3628bd2dd3612065792aef6c7ae5bc967b4f081 (patch)
tree97558b4930e383aa0549451a45902b07efe87bec /src
parent7c1c6728bce4237ca3a8f6fde01356697a465dfd (diff)
altos: sample profile address range was too narrow
The range was cranked down at some point to diagnose issues within the task scheduler. Unfortunately, that change got merged, which meant that general profiling lost information outside of the lower 4kB of code. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/ao_sample_profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_sample_profile.c b/src/core/ao_sample_profile.c
index e682bd98..d3743d12 100644
--- a/src/core/ao_sample_profile.c
+++ b/src/core/ao_sample_profile.c
@@ -24,11 +24,11 @@
#endif
#ifndef AO_SAMPLE_PROFILE_HIGH_PC
-#define AO_SAMPLE_PROFILE_HIGH_PC 0x08003000
+#define AO_SAMPLE_PROFILE_HIGH_PC 0x0800f000
#endif
#ifndef AO_SAMPLE_PROFILE_SHIFT
-#define AO_SAMPLE_PROFILE_SHIFT 3
+#define AO_SAMPLE_PROFILE_SHIFT 6
#endif
#define AO_SAMPLE_PROFILE_RANGE (AO_SAMPLE_PROFILE_HIGH_PC - AO_SAMPLE_PROFILE_LOW_PC)