Lup,

Thank you for the information, I’ll have a look tomorrow.

Regards,
Mark
-------------------------------------------
Mark Stevens
Blog: blog.mark-stevens.co.uk


> On 13 Jun 2024, at 13:51, Lee, Lup Yuen <lu...@appkaki.com> wrote:
> 
> Hi Mark: Thanks for watching my presentation! To show the Heap Logs, I
> enabled "Build Setup > Debug Options > Enable Debug Features > Memory
> Manager Debug Features". Here's the complete definition (I hope it's
> applicable to your platform)...
> 
> <<
> Symbol: DEBUG_MM_INFO
> Type  : boolean
> 
> Prompt: Memory Manager Informational Output
> 
>  Location:
> 
>    -> Build Setup
> 
>      -> Debug Options
> 
>        -> Enable Debug Features (DEBUG_FEATURES [=y])
> 
> (3)       -> Memory Manager Debug Features (DEBUG_MM [=y])
> 
>  Defined at Kconfig:980
> 
>  Depends on: DEBUG_FEATURES [=y] && DEBUG_MM [=y] && DEBUG_INFO [=y]
>>> 
> 
> Here's how I loaded the Heap Logs into a Google Spreadsheet for analysis:
> https://lupyuen.github.io/articles/quickjs#how-small-is-quickjs
> 
> Lup
> 
> On Thu, Jun 13, 2024 at 7:24 PM Mark Stevens
> <mark.stev...@wildernesslabs.co.invalid> wrote:
> 
>> I am just catching up with the NuttX workshop presentations and something
>> sparked my interest from one of the later presentations.
>> 
>> I am looking at the "Heap Usage for QuickJS” slide from Lup Yuens
>> presentation.  There is mention of turning on heap logging and this is
>> something I would like to investigate.
>> 
>> I have checked out the releases/12.5 code base and I am trying to work out
>> how to turn this feature on.  The presentation talks about turning the
>> feature on through logging menus but I cannot seem to find the options
>> mentioned.  I have also had a look at the mm_malloc code and nothing jumps
>> out as being obvious.
>> 
>> How do I turn this feature on?
>> 
>> Thanks in advance,
>> Mark
>> —
>> Mark Stevens
>> mark.stev...@wildernesslabs.co
>> 
>> 
>> 
>> 
>> 
>> 
>> 

Reply via email to