stacktest library  v0.5
For testing how much stack space one or more functions running CMM/LMM code in another cog use.
stacktest.h
Go to the documentation of this file.
1 
14 #ifndef STACKTEST_H
15 #define STACKTEST_H
16 
17 #if defined(__cplusplus)
18 extern "C" {
19 #endif
20 
21 
22 #include "simpletools.h"
23 
24 
75 int *cog_runStackTest(void (*function)(void *par), int stacksize);
76 
95 int cog_endStackTest(int *coginfo);
96 
153 int cogstart_stackTest(void (*func)(void *), void *par, void *stack, size_t stacksize);
154 
177  int cogstop_stackTest(int cog, void *stack);
178 
179 
180 #if defined(__cplusplus)
181 }
182 #endif
183 /* __cplusplus */
184 #endif
185 /* STACKTEST_H */
186 
187