aboutsummaryrefslogtreecommitdiff
path: root/inc/os/system_trace/trace_heap.h
diff options
context:
space:
mode:
authorreparo_liu <reparo_liu@realsil.com.cn>2023-05-18 11:23:40 +0800
committerreparo_liu <reparo_liu@realsil.com.cn>2023-05-19 09:18:25 +0800
commit64889cda2e397915ee6c3800d4acafb1c34e2ef3 (patch)
treef9d61cfc074d3297dff0d97ff1443617bc330bd2 /inc/os/system_trace/trace_heap.h
parent151cf392d25c5de46a4cdaaa78dfc46448a1f8c3 (diff)
downloadrealtek-64889cda2e397915ee6c3800d4acafb1c34e2ef3.tar.gz
Google RTK SDKHEADmastermain
upload project and readme file BYPASS_INCLUSIVE_LANGUAGE_REASON=false positive bug: Change-Id: Ibc24ce136cb2c838214643d90017530996589b37 test: manual
Diffstat (limited to 'inc/os/system_trace/trace_heap.h')
-rw-r--r--inc/os/system_trace/trace_heap.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/inc/os/system_trace/trace_heap.h b/inc/os/system_trace/trace_heap.h
new file mode 100644
index 0000000..f53ca67
--- /dev/null
+++ b/inc/os/system_trace/trace_heap.h
@@ -0,0 +1,44 @@
+/****************************************************************************************************//**
+ * @file trace_heap.h
+ *
+ * @brief
+ *
+ * @version v0.1
+ * @date 2018-11-05
+ *
+ * @note
+ *******************************************************************************************************/
+#ifndef _TRACE_HEAP_H_
+#define _TRACE_HEAP_H_
+
+#include "trace_common.h"
+#include "trace_port_config.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _BLOCK_SIZE_LIST
+{
+ uint32_t number;
+ uint32_t size[TRACE_HEAP_MAX_NUMBER_IN_BLOCK_LIST];
+} BLOCK_SIZE_LIST;
+
+typedef struct _HEAP_INFO
+{
+ uint32_t total_size;
+ uint32_t curr_remain_size;
+ uint32_t minimum_ever_free_size;
+ //BLOCK_SIZE_LIST used_size_list;
+ BLOCK_SIZE_LIST free_size_list;
+} HEAP_INFO;
+
+extern void trace_heap(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*_TRACE_HEAP_H_*/
+
+/******************* (C) COPYRIGHT 2015 Realtek Semiconductor Corporation *****END OF FILE****/