19 #ifndef _RTEMS_RTEMS_LIBCSUPPORT_H 20 #define _RTEMS_RTEMS_LIBCSUPPORT_H 22 #include <sys/types.h> 40 extern void malloc_dump(
void);
45 extern bool malloc_walk(
int source,
bool printf_enabled);
78 bool newlib_create_hook(
83 void newlib_terminate_hook(
87 #define RTEMS_NEWLIB_EXTENSION \ 97 newlib_terminate_hook \ 101 uint32_t active_barriers;
102 uint32_t active_extensions;
103 uint32_t active_message_queues;
104 uint32_t active_partitions;
105 uint32_t active_periods;
106 uint32_t active_ports;
107 uint32_t active_regions;
108 uint32_t active_semaphores;
109 uint32_t active_tasks;
110 uint32_t active_timers;
114 uint32_t active_message_queues;
115 uint32_t active_semaphores;
116 uint32_t active_threads;
117 uint32_t active_timers;
123 uint32_t active_posix_key_value_pairs;
124 uint32_t active_posix_keys;
Definition: libcsupport.h:113
Definition: libcsupport.h:100
void malloc_set_heap_pointer(Heap_Control *new_heap)
Set malloc heap pointer.
Definition: mallocsetheapptr.c:25
bool malloc_walk(int source, bool printf_enabled)
Malloc walk.
size_t malloc_free_space(void)
Get free malloc information.
Definition: mallocfreespace.c:37
Heap_Control * malloc_get_heap_pointer(void)
Get malloc heap pointer.
Definition: mallocgetheapptr.c:25
void rtems_resource_snapshot_take(rtems_resource_snapshot *snapshot)
Tasks a snapshot of the resource usage of the system.
Definition: resource_snapshot.c:100
Classic Task Manager API.
Control block used to manage a heap.
Definition: heap.h:255
int malloc_info(Heap_Information_block *the_info)
Get malloc status information.
Definition: mallocinfo.c:24
Definition: libcsupport.h:120
bool rtems_resource_snapshot_equal(const rtems_resource_snapshot *a, const rtems_resource_snapshot *b)
Compares two resource snapshots for equality.
Definition: resource_snapshot.c:135
bool rtems_resource_snapshot_check(const rtems_resource_snapshot *snapshot)
Takes a new resource snapshot and checks that it is equal to the given resource snapshot.
Definition: resource_snapshot.c:143