Loading...
Searching...
No Matches
map_resources.h File Reference
Apply and periodically check the survey process's low-memory policy. More...
#include "map_config.h"#include "opencv_parallel.hpp"#include <opencv2/core.hpp>#include <sys/resource.h>#include <sched.h>#include <linux/ioprio.h>#include <sys/syscall.h>#include <chrono>#include <fstream>
Include dependency graph for map_resources.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| class | pangea_survey::MapResourcePressure |
| class | pangea_survey::MapResources |
| Enforce the configured bounded-work policy for a survey process. More... | |
Namespaces | |
| namespace | pangea_survey |
Functions | |
| std::uint64_t | pangea_survey::procMemory (const char *path, const char *key) |
| Read a named Linux memory counter and convert its KiB value to bytes. | |
Detailed Description
Apply and periodically check the survey process's low-memory policy.
The address-space ceiling, current RSS, and system-available reserve are different measurements. Checking all three helps a job stop with a resumable checkpoint before it crowds the camera board, but does not prove whole-board safety or replace physical RSS/PSS/CMA/concurrency measurements.
Definition in file map_resources.h.