|
Hermes 0.7.0
Linux game streaming host
|
Classes | |
| struct | system_t |
| The machine around the stream. A value nobody may read here stays negative. More... | |
| struct | sample_t |
| struct | previous_t |
Functions | |
| std::optional< long long > | read_number (const fs::path &path) |
| std::string | read_word (const fs::path &path) |
| std::optional< fs::path > | hwmon (std::initializer_list< std::string_view > names, const fs::path &root="/sys/class/hwmon") |
| double | temperature (const fs::path &dir, std::string_view label) |
| double | current_amdgpu_clock (const fs::path &path) |
| void | read_nvidia (const std::string &pci_address, system_t &s) |
| system_t | read_system (bool gpu) |
| void | record () |
| std::vector< sample_t > | snapshot () |
Variables | |
| struct confighttp::report_timeline::previous_t | previous |
| std::string | encode_card |
| The encoding GPU's sysfs device directory. | |
| std::mutex | mutex |
| std::deque< sample_t > | samples |
| constexpr std::size_t | max_samples = 720 |
The stream timeline for diagnostic reports: what the pipeline did every five seconds while streaming, and for a minute after, so a report shows the state before, during and after a problem. An hour of it is kept.
| double confighttp::report_timeline::current_amdgpu_clock | ( | const fs::path & | path | ) |
Definition at line 2523 of file confighttp.cpp.
| std::optional< fs::path > confighttp::report_timeline::hwmon | ( | std::initializer_list< std::string_view > | names, |
| const fs::path & | root = "/sys/class/hwmon" ) |
Definition at line 2485 of file confighttp.cpp.
| std::optional< long long > confighttp::report_timeline::read_number | ( | const fs::path & | path | ) |
Definition at line 2468 of file confighttp.cpp.
| void confighttp::report_timeline::read_nvidia | ( | const std::string & | pci_address, |
| system_t & | s ) |
Definition at line 2535 of file confighttp.cpp.
| system_t confighttp::report_timeline::read_system | ( | bool | gpu | ) |
Definition at line 2569 of file confighttp.cpp.
| std::string confighttp::report_timeline::read_word | ( | const fs::path & | path | ) |
Definition at line 2477 of file confighttp.cpp.
| void confighttp::report_timeline::record | ( | ) |
Definition at line 2731 of file confighttp.cpp.
| std::vector< sample_t > confighttp::report_timeline::snapshot | ( | ) |
Definition at line 2754 of file confighttp.cpp.
| double confighttp::report_timeline::temperature | ( | const fs::path & | dir, |
| std::string_view | label ) |
Definition at line 2497 of file confighttp.cpp.
| std::string confighttp::report_timeline::encode_card |
The encoding GPU's sysfs device directory.
Definition at line 2564 of file confighttp.cpp.
|
constexpr |
Definition at line 2729 of file confighttp.cpp.
| std::mutex confighttp::report_timeline::mutex |
Definition at line 2727 of file confighttp.cpp.
| std::deque<sample_t> confighttp::report_timeline::samples |
Definition at line 2728 of file confighttp.cpp.