AnsweredAssumed Answered

How to know that how many stack size is occupied by threads

Question asked by Utsavi Kalpesh Bharuchwala on Jan 7, 2015
Latest reply on Jan 7, 2015 by soledad



I am working on Code warrior v10.2 and of MQX v4.0. I am working on TWR-K60D100M.


I want to know that how much stack size occupied by my task.


In my TASK_TEMPLATE_STRUCT I am writing like this for example,


// Task Idx,Function,        Stack,   Priority,   Name,        Attributes,          Param, Time Slice
{ STARTUP_TASK_IDX,        Startup_TASK,      400, 12,"Startup_TASK",    MQX_AUTO_START_TASK,0,    0 },


There is 10 thread running in my code.


But I want to know actually how much stack size is occupied by the task.


How would I come to know that my task is occupying this much of memory??Is there any way to see that??


Please help.