|
Loop Timing Witness
Native controller and runtime interfaces; hardware qualification pending
|
#include "../run_options.h"#include "../refusal.h"#include <sched.h>#include <sys/resource.h>#include <cerrno>#include <cstdio>#include <cstdlib>#include <memory>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | witness::HostPolicy |
| struct | witness::FreeCpuMask |
Functions | |
| HostPolicy | witness::read_host_policy () |
| HostPolicy | witness::apply_host_policy (const RunOptions &options) |
| bool | witness::write_host_policy (std::FILE *file, const RunOptions &options, const HostPolicy &actual) |
actual Linux run scheduling policy.
Definition in file run_policy.h.
|
inline |
Apply only requested calling-thread changes before device or output acquisition.
Definition at line 77 of file run_policy.h.
|
inline |
Read the current allowed CPUs, expanding for kernels with large CPU masks.
Definition at line 43 of file run_policy.h.
|
inline |
Append the observed Linux policy and explicit request to native run JSON.
Definition at line 122 of file run_policy.h.