James Kuszmaul | b3fb78a | 2024-05-09 15:35:29 -0700 | [diff] [blame] | 1 | #ifndef AOS_IPC_LIB_MEMORY_ESTIMATION_H_ |
2 | #define AOS_IPC_LIB_MEMORY_ESTIMATION_H_ | ||||
3 | |||||
4 | #include "aos/configuration.h" | ||||
5 | |||||
6 | namespace aos::ipc_lib { | ||||
7 | // Returns the total shared memory that will be used by the specified config on | ||||
8 | // the specified node, in bytes. | ||||
9 | size_t TotalSharedMemoryUsage(const aos::Configuration *config, | ||||
10 | const aos::Node *node); | ||||
11 | } // namespace aos::ipc_lib | ||||
12 | |||||
13 | #endif // AOS_IPC_LIB_MEMORY_ESTIMATION_H_ |