Monitoring Memory Block (GUI_ALLOC_AssignMemory) Usage

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi,

    Yes, you might try the following functions:

    GUI_ALLOC_GetMaxUsedBytes() - Returns the peak of the used bytes
    GUI_ALLOC_GetNumFreeBytes() - Returns the current number of free bytes
    GUI_ALLOC_GetNumUsedBytes() - Returns the current number of bytes used

    Also there are two undocumented functions which return the number of used and free blocks:

    GUI_ALLOC_GetNumUsedBlocks()
    GUI_ALLOC_GetNumFreeBlocks()

    Regards
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.