Easy Navigation
Loading...
Searching...
No Matches
RealTime.hpp File Reference

Real-time setup of the EasyNav process. More...

#include <string>
Include dependency graph for RealTime.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  easynav

Functions

std::string check_memory_lock ()
 Whether lock_memory() is allowed (RLIMIT_MEMLOCK unlimited), without locking.
std::string check_real_time_priority (int priority)
 Whether a thread of this process can get SCHED_FIFO priority, tried on a temporary thread.
std::string lock_memory ()
 Locks the process memory, current and future, so the RT cycle never page-faults.
std::string set_real_time_priority (int priority)
 Gives the calling thread SCHED_FIFO priority.

Variables

constexpr int kRealTimePriority = 80
 SCHED_FIFO priority of EasyNav's real-time cycle.

Detailed Description

Real-time setup of the EasyNav process.