KymoCore/Dokumentation
v8.0.0 Stabil⌄
Versionen8.0.0 Aktuell
GitHub ↗
KYMOCORE / API REFERENCE

KymoMemoryEntry Struct Reference

API-Verträge im englischen Original. Navigation und Anleitungen sind zweisprachig.

One reported value. More...

#include <kymo_core_memory.h>

Public Attributes

const char * pName
 Name shown by the host, e.g. the task name; NULL means empty.
uint32_t totalSizeBytes
 Size of the stack or heap in bytes; 0 when unknown.
uint8_t kind
 KYMO_MEMORY_STACK_PEAK, KYMO_MEMORY_HEAP_FREE or KYMO_MEMORY_HEAP_MIN_FREE.
uint8_t channel
 DATA channel of the samples; unique, not used by measurements.

Detailed Description

One reported value.

Referenced, not copied: totalSizeBytes may be filled in or changed after KymoMemory_init (for example once a task exists); the next MEMORY_INFO carries it.

Usage
{ "wifi", 4096u, KYMO_MEMORY_STACK_PEAK, 223u }

Definition at line 62 of file kymo_core_memory.h.

Member Data Documentation

◆ channel

uint8_t KymoMemoryEntry::channel

DATA channel of the samples; unique, not used by measurements.

Definition at line 74 of file kymo_core_memory.h.

◆ kind

uint8_t KymoMemoryEntry::kind

KYMO_MEMORY_STACK_PEAK, KYMO_MEMORY_HEAP_FREE or KYMO_MEMORY_HEAP_MIN_FREE.

Definition at line 71 of file kymo_core_memory.h.

◆ pName

const char* KymoMemoryEntry::pName

Name shown by the host, e.g. the task name; NULL means empty.

Definition at line 65 of file kymo_core_memory.h.

◆ totalSizeBytes

uint32_t KymoMemoryEntry::totalSizeBytes

Size of the stack or heap in bytes; 0 when unknown.

Definition at line 68 of file kymo_core_memory.h.


The documentation for this struct was generated from the following file: