Memory usage / left?

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
yzoer
XCore Addict
Posts: 132
Joined: Tue Dec 15, 2009 10:23 pm

Memory usage / left?

Postby yzoer » Tue Apr 17, 2012 5:03 am

Hi All,

Now I know there's an option to show after compile / link how much memory was taken up, I just can't remember... Anyone know off the top of their head? I think it was something like -info somewhere in the properties tab...

Yvo
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Postby sethu_jangala » Tue Apr 17, 2012 5:48 am

You need to double click on the XE file. In the binaries tab you can see the resource usage like clock blocks, channels, memory etc.
User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Postby segher » Tue Apr 17, 2012 8:27 am

You may be looking for "-report", the "stack available" it reports is essentially
the "memory left" you want to see (well, subtract the "stack needed" ;-) )
yzoer
XCore Addict
Posts: 132
Joined: Tue Dec 15, 2009 10:23 pm

Postby yzoer » Tue Apr 17, 2012 5:21 pm

segher wrote:You may be looking for "-report", the "stack available" it reports is essentially
the "memory left" you want to see (well, subtract the "stack needed" ;-) )


That's the one I was looking for, thanks! Looks like a lot has changed since I last worked in the IDE, like having to register :shock:

-Yvo
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm
Contact:

Postby XMatt » Tue Apr 17, 2012 9:13 pm

yzoer wrote:
segher wrote:You may be looking for "-report", the "stack available" it reports is essentially
the "memory left" you want to see (well, subtract the "stack needed" ;-) )


That's the one I was looking for, thanks! Looks like a lot has changed since I last worked in the IDE, like having to register :shock:

-Yvo


You dont have to register if you dont want to ;)

Return to “Development Tools and Programming”

Who is online

Users browsing this forum: No registered users and 5 guests