MCPcopy Create free account

hub / github.com/Nortank12/deepcool-digital-linux / functions

Functions93 in github.com/Nortank12/deepcool-digital-linux

↓ 14 callersMethodget_temp
Reads the value of the CPU temperature sensor and calculates it to be `˚C` or `˚F`.
src/monitor/cpu.rs:38
↓ 13 callersMethodget_usage
Reads the CPU instant one more time and calculates the utilization as a `0-100` number.
src/monitor/cpu.rs:96
↓ 12 callersFunctiondevice_error
()
src/devices/mod.rs:88
↓ 12 callersMethodread_instant
Reads the CPU instant and provides usage statistics.
src/monitor/cpu.rs:88
↓ 11 callersFunctionprint_device_status
( mode: &Mode, secondary: Option<&Mode>, rotation: Option<u16>, lead_zeros: Option<bool>,
src/utils/status.rs:32
↓ 11 callersMethodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ch510.rs:38
↓ 11 callersMethodwarn_temp
Displays a warning message if temperature sensor is not initialized.
src/monitor/cpu.rs:21
↓ 10 callersFunctionlead_zeros
(args: &Args)
src/main.rs:52
↓ 10 callersFunctionrotate
(args: &Args)
src/main.rs:46
↓ 9 callersMethodget_power
Reads the energy consumption one more time and calculates the CPU power by using the inital energy and the delta time. Formula: `W = ΔμJ / (Δms * 100
src/monitor/cpu.rs:72
↓ 9 callersFunctionsecondary_mode
(args: &Args)
src/main.rs:22
↓ 8 callersMethodget
(symbol: &str)
src/monitor/gpu/pci/mod.rs:24
↓ 8 callersMethodread_energy
Reads the energy consumption of the CPU in microjoules.
src/monitor/cpu.rs:57
↓ 7 callersFunctioninsert_pattern
Inserts a pattern into the 14x14 matrix at the defined position.
src/devices/lp_series.rs:136
↓ 7 callersMethodsupport_error
(&self)
src/devices/mod.rs:77
↓ 7 callersMethodwarn_rapl
Displays a warning message if RAPL module is not initialized.
src/monitor/cpu.rs:30
↓ 5 callersFunctionget_number_pattern
Returns a 3x5 matrix array representing the number.
src/devices/lp_series.rs:59
↓ 4 callersFunctionalarm
(args: &Args)
src/main.rs:34
↓ 4 callersFunctionalarm_hardcoded
(args: &Args)
src/main.rs:40
↓ 4 callersMethodget_frequency
Reads the frequency of all CPU cores and returns the highest one in MHz.
src/monitor/cpu.rs:103
↓ 4 callersFunctionmode_change
(args: &Args)
src/main.rs:16
↓ 4 callersMethodwarn_missing
(&self)
src/monitor/gpu/mod.rs:32
↓ 3 callersMethodget_system_info
(&self, mode: &Mode, cpu_instant: CpuInstant, cpu_energy: u64)
src/devices/lp_series.rs:341
↓ 3 callersMethodinsert_data_to_matrix
(&self, matrix: &mut [[bool; 14]; 14], row_id: usize, data: (u16, dot_matrix::Unit))
src/devices/lp_series.rs:371
↓ 3 callersMethodstatus_message
Reads the CPU status information and returns the data packet.
src/devices/ak_series.rs:95
↓ 3 callersMethodstatus_message
Reads the system status information and returns the data packet.
src/devices/ch_series_gen2.rs:107
↓ 3 callersMethodstatus_message
Reads the CPU status information and returns the data packet.
src/devices/ch_series.rs:108
↓ 3 callersMethodstatus_message
Reads the CPU status information and returns the data packet.
src/devices/ls_series.rs:94
↓ 3 callersMethodstatus_message
Reads the CPU status information and returns the data packet.
src/devices/ag_series.rs:85
↓ 2 callersFunctionget_gpu_list
Gets all GPUs from the PCI bus.
src/monitor/gpu/pci/mod.rs:63
↓ 2 callersMethodget_pattern
Returns a 5x5 matrix array representing the unit.
src/devices/lp_series.rs:23
↓ 2 callersFunctionparse_pci_id
(id: &str)
src/monitor/gpu/pci/mod.rs:53
↓ 2 callersMethodsupport_error_secondary
(&self)
src/devices/mod.rs:82
↓ 1 callersFunctionfahrenheit
(args: &Args)
src/main.rs:28
↓ 1 callersFunctionfind_card
Confirms that the specified path belongs to an AMD GPU and returns the path of the "GPU Usage" file.
src/monitor/gpu/amd.rs:85
↓ 1 callersFunctionfind_drm_dir
Finds DRM directory (Standard PCI-based)
src/monitor/gpu/intel.rs:142
↓ 1 callersFunctionfind_hwmon_dir
Finds hwmon directory (Global Scan) Phase 1: Search for 'xe', 'i915', 'intel_arc', 'drm' Phase 2: Fallback to 'coretemp'
src/monitor/gpu/intel.rs:159
↓ 1 callersFunctionfind_hwmon_dir
Looks for the hwmon directory of the specified AMD GPU.
src/monitor/gpu/amd.rs:97
↓ 1 callersFunctionfind_temp_sensor
Looks for the appropriate CPU temperature sensor datastream in the hwmon directory.
src/monitor/cpu.rs:125
↓ 1 callersFunctionget_device_names
Returns a HashMap of Vendor, Device ID, and Subsystem ID. Format: `(vendor_name, device_id, Option<(subsystem_vendor_id, subsystem_device_id)>)`
src/monitor/gpu/pci/pci_ids.rs:15
↓ 1 callersFunctionget_max_energy
Gets the limit of the displayed energy value so it can be applied as an offset when the counter resets.
src/monitor/cpu.rs:139
↓ 1 callersFunctionget_name
Gets the CPU model name.
src/monitor/cpu.rs:147
↓ 1 callersFunctionmatrix_to_bytes
Converts the 14x14 matrix to be data bytes.
src/devices/lp_series.rs:187
↓ 1 callersFunctionparse_pci_addr
(addr: &str)
src/monitor/gpu/pci/mod.rs:42
↓ 1 callersFunctionrotate_matrix
Rotates the matrix values by a given degree.
src/devices/lp_series.rs:155
Methodget
(symbol: &str)
src/devices/mod.rs:59
Methodget_frequency
Reads GPU frequency
src/monitor/gpu/intel.rs:131
Methodget_frequency
(&self)
src/monitor/gpu/mod.rs:66
Methodget_frequency
Reads the GPU core frequency from the API.
src/monitor/gpu/nvidia.rs:127
Methodget_frequency
Reads the value of the GPU core frequency in MHz.
src/monitor/gpu/amd.rs:73
Methodget_power
Reads GPU power in Watts
src/monitor/gpu/intel.rs:120
Methodget_power
(&self)
src/monitor/gpu/mod.rs:57
Methodget_power
Reads the GPU power consumption from the API.
src/monitor/gpu/nvidia.rs:113
Methodget_power
Reads the value of the GPU power consumption in Watts.
src/monitor/gpu/amd.rs:62
Methodget_temp
Reads GPU temperature
src/monitor/gpu/intel.rs:46
Methodget_temp
(&self, fahrenheit: bool)
src/monitor/gpu/mod.rs:39
Methodget_temp
Reads the GPU temperature from the API and calculates it to be `˚C` or `˚F`.
src/monitor/gpu/nvidia.rs:81
Methodget_temp
Reads the value of the GPU temperature sensor and calculates it to be `˚C` or `˚F`.
src/monitor/gpu/amd.rs:35
Methodget_usage
Estimates GPU usage
src/monitor/gpu/intel.rs:78
Methodget_usage
(&self)
src/monitor/gpu/mod.rs:48
Methodget_usage
Reads the GPU utilization from the API.
src/monitor/gpu/nvidia.rs:98
Methodget_usage
Reads the value of the GPU usage in percentage.
src/monitor/gpu/amd.rs:52
Functionmain
()
src/main.rs:59
Methodname
(&self)
src/monitor/gpu/pci/mod.rs:16
Methodnew
(cpu: Cpu, update: Duration, fahrenheit: bool)
src/devices/lq_series.rs:29
Methodnew
(cpu: Cpu, update: Duration, fahrenheit: bool)
src/devices/ak620_pro.rs:24
Methodnew
(cpu: Cpu, mode: &Mode, update: Duration, fahrenheit: bool, alarm: bool)
src/devices/ak_series.rs:25
Methodnew
(cpu: Cpu, gpu: Gpu, mode: &Mode, update: Duration, fahrenheit: bool)
src/devices/ch_series_gen2.rs:22
Methodnew
(cpu: Cpu, update: Duration, fahrenheit: bool)
src/devices/ak400_pro.rs:23
Methodnew
(cpu: Cpu, gpu: Gpu, mode: &Mode, secondary: &Mode, update: Duration, fahrenheit: bool)
src/devices/ch_series.rs:23
Methodnew
(cpu: Cpu, update: Duration, fahrenheit: bool, lead_zeros: bool)
src/devices/ld_series.rs:23
Methodnew
(cpu: Cpu, gpu: Gpu, mode: &Mode, update: Duration, fahrenheit: bool)
src/devices/ch510.rs:20
Methodnew
(cpu: Cpu, mode: &Mode, update: Duration, fahrenheit: bool, alarm: bool)
src/devices/ls_series.rs:23
Methodnew
(cpu: Cpu, mode: &Mode, update: Duration, alarm: bool)
src/devices/ag_series.rs:23
Methodnew
(cpu: Cpu, gpu: Gpu, mode: &Mode, secondary: &Mode, update: Duration, fahrenheit: bool, rotate: u16)
src/devices/lp_series.rs:232
Methodnew
()
src/monitor/cpu.rs:13
Methodnew
(pci_address: &str)
src/monitor/gpu/intel.rs:14
Methodnew
(pci_device: Option<PciDevice>)
src/monitor/gpu/mod.rs:18
Methodnew
Initializes NVML with the GPU specified by its PCI address.
src/monitor/gpu/nvidia.rs:42
Methodnew
(pci_address: &str)
src/monitor/gpu/amd.rs:12
Methodread
()
src/utils/args.rs:19
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/lq_series.rs:37
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ak620_pro.rs:32
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ak_series.rs:44
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ch_series_gen2.rs:43
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ak400_pro.rs:31
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ch_series.rs:54
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ld_series.rs:32
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ls_series.rs:42
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/ag_series.rs:41
Methodrun
(&self, api: &HidApi, vid: u16, pid: u16)
src/devices/lp_series.rs:267
Methodsymbol
(&self)
src/utils/status.rs:11
Methodsymbol
(&self)
src/devices/mod.rs:41