LCOV - code coverage report
Current view: top level - zephyr/sys - mem_stats.h Hit Total Coverage
Test: new.info Lines: 1 5 20.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           1 : /*
       2             :  * Copyright (c) 2022 Intel Corporation
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : /**
       8             :  * @file
       9             :  *
      10             :  * @brief Memory Statistics
      11             :  */
      12             : 
      13             : #ifndef ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
      14             : #define ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
      15             : 
      16             : #ifdef __cplusplus
      17             : extern "C" {
      18             : #endif
      19             : 
      20             : #include <stddef.h>
      21             : 
      22             : /* A common structure used to report runtime memory usage statistics */
      23             : 
      24           0 : struct sys_memory_stats {
      25           0 :         size_t  free_bytes;
      26           0 :         size_t  allocated_bytes;
      27           0 :         size_t  max_allocated_bytes;
      28             : };
      29             : 
      30             : #ifdef __cplusplus
      31             : }
      32             : #endif
      33             : 
      34             : #endif /* ZEPHYR_INCLUDE_SYS_MEM_STATS_H_ */

Generated by: LCOV version 1.14