Memory usage / left?

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

Memory usage / left?

Post by yzoer »

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

Post by sethu_jangala »

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: 844
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Post by segher »

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: 133
Joined: Tue Dec 15, 2009 10:23 pm

Post by yzoer »

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

Post by XMatt »

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 ;)
Post Reply