projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d16073
)
altos/lisp: Include memory stats for test program
author
Keith Packard
<keithp@keithp.com>
Sat, 19 Nov 2016 06:57:22 +0000
(22:57 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 19 Nov 2016 06:57:22 +0000
(22:57 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/test/ao_lisp_os.h
patch
|
blob
|
history
diff --git
a/src/test/ao_lisp_os.h
b/src/test/ao_lisp_os.h
index dedcca28f7e5b051bfb287f79b7116c0fb3e6431..9ff2e1feb71cafb65ce1a8445b3dc49d8be731f8 100644
(file)
--- a/
src/test/ao_lisp_os.h
+++ b/
src/test/ao_lisp_os.h
@@
-24,6
+24,7
@@
#define AO_LISP_POOL_TOTAL 3072
#define AO_LISP_SAVE 1
+#define DBG_MEM_STATS 1
extern int ao_lisp_getc(void);
@@
-47,6
+48,8
@@
ao_lisp_os_led(int led)
static inline void
ao_lisp_os_delay(int delay)
{
+ if (!delay)
+ return;
struct timespec ts = {
.tv_sec = delay / 1000,
.tv_nsec = (delay % 1000) * 1000000,