blob: 31eafc156d800ed7dbb3a9498e5ace94c82f7310 [file] [log] [blame]
James Kuszmaulb3fb78a2024-05-09 15:35:29 -07001#ifndef AOS_IPC_LIB_MEMORY_ESTIMATION_H_
2#define AOS_IPC_LIB_MEMORY_ESTIMATION_H_
3
4#include "aos/configuration.h"
5
6namespace aos::ipc_lib {
7// Returns the total shared memory that will be used by the specified config on
8// the specified node, in bytes.
9size_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_