|
xentara-utils v2.0.6
The Xentara Utility Library
|
This class sets the DMA latency of the system to a certain value for the duration of its lifetime. More...
#include <xentara/utils/realTime/DmaLatencyGuard.hpp>
Public Member Functions | |
| DmaLatencyGuard (std::int32_t latency=0) | |
| Constructor. | |
| ~DmaLatencyGuard ()=default | |
| Destructor. | |
This class sets the DMA latency of the system to a certain value for the duration of its lifetime.
| xentara::utils::realTime::DmaLatencyGuard::DmaLatencyGuard | ( | std::int32_t | latency = 0 | ) |
Constructor.
The constructor tells the operating system that this process requires a DMA letency no higher than the given value. The operating system will adjust the actual DMA latency accordingly.
| latency | The desired latency value |
|
default |
Destructor.
The destructor tells the operating system that this process no longer requires a special DMA latency. The operating system will adjust the actualö DMA latency accordingly.