|
Prev: Separation of speech from multiple speakers speaking in different microphones connected to a mixer
Next: Separation of speech from multiple speakers speaking in different microphones connected to a mixer
From: Rachit on 5 May 2008 09:00 Hello, I am working on TMS320C54x platform.I am using Code Composer Studio 3.1 to develop application. How to check run time stack usage on CCS?Is there any other utility for this? Thanks, Rachit Shah
From: Randy Yates on 5 May 2008 09:27 Rachit <rachit81(a)gmail.com> writes: > Hello, > I am working on TMS320C54x platform.I am using Code Composer Studio > 3.1 to develop application. > How to check run time stack usage on CCS?Is there any other utility > for this? Hi Rachit, There's a very simple technique to do this. In your initialization (before the stack is first used), write some known bit pattern to the entire stack, like 0xDEAD. Then after running your application for some time in a representative or worst-case operating scenario, halt the debugger, examine the stack memory, and see how many 0xDEADs are remaining. -- % Randy Yates % "She has an IQ of 1001, she has a jumpsuit %% Fuquay-Varina, NC % on, and she's also a telephone." %%% 919-577-9882 % %%%% <yates(a)ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://www.digitalsignallabs.com
From: Rachit on 6 May 2008 00:00 On May 5, 6:27 pm, Randy Yates <ya...(a)ieee.org> wrote: > Rachit <rachi...(a)gmail.com> writes: > > Hello, > > I am working on TMS320C54x platform.I am using Code Composer Studio > > 3.1 to develop application. > > How to check run time stack usage on CCS?Is there any other utility > > for this? > > Hi Rachit, > > There's a very simple technique to do this. In your initialization > (before the stack is first used), write some known bit pattern to the > entire stack, like 0xDEAD. Then after running your application for some > time in a representative or worst-case operating scenario, halt the > debugger, examine the stack memory, and see how many 0xDEADs are > remaining. > -- > % Randy Yates % "She has an IQ of 1001, she has a jumpsuit > %% Fuquay-Varina, NC % on, and she's also a telephone." > %%% 919-577-9882 % > %%%% <ya...(a)ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://www.digitalsignallabs.com Hi Randy, Thanks for guiding me.This is one way to track stack usage. Actually I want to check for stack usage by individual function at run time? Thanks, Rachit Shah
From: rajesh on 6 May 2008 00:38 On May 6, 9:00 am, Rachit <rachi...(a)gmail.com> wrote: > On May 5, 6:27 pm, Randy Yates <ya...(a)ieee.org> wrote: > > > > > Rachit <rachi...(a)gmail.com> writes: > > > Hello, > > > I am working on TMS320C54x platform.I am using Code Composer Studio > > > 3.1 to develop application. > > > How to check run time stack usage on CCS?Is there any other utility > > > for this? > > > Hi Rachit, > > > There's a very simple technique to do this. In your initialization > > (before the stack is first used), write some known bit pattern to the > > entire stack, like 0xDEAD. Then after running your application for some > > time in a representative or worst-case operating scenario, halt the > > debugger, examine the stack memory, and see how many 0xDEADs are > > remaining. > > -- > > % Randy Yates % "She has an IQ of 1001, she has a jumpsuit > > %% Fuquay-Varina, NC % on, and she's also a telephone." > > %%% 919-577-9882 % > > %%%% <ya...(a)ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://www.digitalsignallabs.com > > Hi Randy, > Thanks for guiding me.This is one way to track stack usage. > Actually I want to check for stack usage by individual function at run > time? > > Thanks, > Rachit Shah What do you mean by run time.We generally measure the stack size for a worst case scenario. regards Rajesh.D
From: Rachit on 6 May 2008 05:57
On May 6, 9:38 am, rajesh <getrajes...(a)gmail.com> wrote: > On May 6, 9:00 am, Rachit <rachi...(a)gmail.com> wrote: > > > > > > > On May 5, 6:27 pm, Randy Yates <ya...(a)ieee.org> wrote: > > > > Rachit <rachi...(a)gmail.com> writes: > > > > Hello, > > > > I am working on TMS320C54x platform.I am using Code Composer Studio > > > > 3.1 to develop application. > > > > How to check run time stack usage on CCS?Is there any other utility > > > > for this? > > > > Hi Rachit, > > > > There's a very simple technique to do this. In your initialization > > > (before the stack is first used), write some known bit pattern to the > > > entire stack, like 0xDEAD. Then after running your application for some > > > time in a representative or worst-case operating scenario, halt the > > > debugger, examine the stack memory, and see how many 0xDEADs are > > > remaining. > > > -- > > > % Randy Yates % "She has an IQ of 1001, she has a jumpsuit > > > %% Fuquay-Varina, NC % on, and she's also a telephone." > > > %%% 919-577-9882 % > > > %%%% <ya...(a)ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://www.digitalsignallabs.com > > > Hi Randy, > > Thanks for guiding me.This is one way to track stack usage. > > Actually I want to check for stack usage by individual function at run > > time? > > > Thanks, > > Rachit Shah > > What do you mean by run time.We generally measure the stack size for a > worst case scenario. > > regards > Rajesh.D- Hide quoted text - > > - Show quoted text - Hi Rajesh, Rut time means without stop the running application.I want to check stack usage of individual function.There is one sdp470.exe available for Static Stack Depth Profiler. Do you know about this?How to use this on CCS? Thanks, Rachit Shah |