datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech
Welcome Guest Log In | Register | Benefits

Stack Usage Checking

Authored on: Feb 10, 2010 by David Moore

Technical Paper

0 0
More InfoLess Info

This paper discusses the new mechanisms for stack checking that are much more reliable at detecting stack overflow and also allow determining stack usage. Each task's stack usage is stored in its TCB, allowing for easy inspection in the debugger. Those using smxAware are able to display a simple bar graph of stack usages as a percentage of stack size. This paper also discusses delayed release of stacks, which is a necessary change to avoid slowing down task scheduling with stack checking operations at the time of a task switch.

0 comments
write a comment

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page