MCPcopy Create free account

hub / github.com/GuillaumeGomez/sysinfo / functions

Functions1,805 in github.com/GuillaumeGomez/sysinfo

↓ 1 callersFunctionsysinfo_rstring_free
(s: RString)
src/c_interface.rs:526
↓ 1 callersFunctionsysinfo_system_host_name
()
src/c_interface.rs:625
↓ 1 callersFunctionsysinfo_system_kernel_version
()
src/c_interface.rs:612
↓ 1 callersFunctionsysinfo_system_long_version
()
src/c_interface.rs:635
↓ 1 callersFunctionsysinfo_system_name
()
src/c_interface.rs:592
↓ 1 callersFunctionsysinfo_system_version
()
src/c_interface.rs:602
↓ 1 callersFunctionsysinfo_total_memory
(system: CSystem)
src/c_interface.rs:157
↓ 1 callersFunctionsysinfo_total_swap
(system: CSystem)
src/c_interface.rs:191
↓ 1 callersFunctionsysinfo_used_memory
(system: CSystem)
src/c_interface.rs:181
↓ 1 callersFunctionsysinfo_used_swap
(system: CSystem)
src/c_interface.rs:215
↓ 1 callersFunctionsystem_info_as_list
Returns a system info value as a list of strings. Absence of a value is treated as an empty list.
src/unix/linux/system.rs:668
↓ 1 callersMethodtemperature
Returns the temperature of the component (in celsius degree). ## Linux Returns `f32::NAN` if it failed to retrieve it. ```no_run use sysinfo::Compo
src/common/component.rs:160
↓ 1 callersMethodthread_kind
If the process is a thread, it'll return `Some` with the kind of thread it is. Returns `None` otherwise. ⚠️ This method always returns `None` on othe
src/common/system.rs:2276
↓ 1 callersFunctionto_correct_name
(s: &str)
tests/code_checkers/docs.rs:7
↓ 1 callersFunctionto_cpath
(path: &std::path::Path)
src/unix/linux/utils.rs:61
↓ 1 callersMethodtotal_errors_on_received
Returns the total number of incoming errors. If you want the amount of errors on received packets since the last refresh, take a look at the [`errors
src/common/network.rs:322
↓ 1 callersMethodtotal_errors_on_transmitted
Returns the total number of outcoming errors. If you want the amount of errors on transmitted packets since the last refresh, take a look at the [`er
src/common/network.rs:364
↓ 1 callersMethodtotal_packets_received
Returns the total number of incoming packets. If you want the amount of received packets since the last refresh, take a look at the [`packets_receive
src/common/network.rs:238
↓ 1 callersMethodtotal_packets_transmitted
Returns the total number of outcoming packets. If you want the amount of transmitted packets since the last refresh, take a look at the [`packets_tra
src/common/network.rs:280
↓ 1 callersMethodtotal_received
Returns the total number of received bytes. If you want the amount of received bytes since the last refresh, take a look at the [`received`](NetworkD
src/common/network.rs:154
↓ 1 callersMethodtotal_time
(&self)
src/unix/linux/cpu.rs:274
↓ 1 callersMethodtotal_transmitted
Returns the total number of transmitted bytes. If you want the amount of transmitted bytes since the last refresh, take a look at the [`transmitted`]
src/common/network.rs:196
↓ 1 callersFunctiontry_create_instance
( create_instance: PfnVkCreateInstance, extensions: &[*const c_char], app_info: &VkApp
src/unix/linux/gpu.rs:841
↓ 1 callersFunctionultostr
(s: *mut c_char, val: u32)
src/unix/apple/macos/component/x86.rs:210
↓ 1 callersMethodupdate
(&mut self, cpu_usage: f32, cpu_data: Arc<CpuData>)
src/unix/apple/cpu.rs:167
↓ 1 callersMethodupdate
( &mut self, refresh_kind: crate::ProcessRefreshKind, nb_cpus: u64, now: u64,
src/windows/process.rs:326
↓ 1 callersFunctionupdate_disk_usage
(p: &mut ProcessInner)
src/windows/process.rs:1200
↓ 1 callersFunctionupdate_existing_process
( is_thread: bool, proc: &mut Process, proc_dir: &mut ProcDir<'_>, parent_pid: Option<Pid>,
src/unix/linux/process.rs:1188
↓ 1 callersFunctionupdate_field
(old_field: &mut u64, new_field: &mut u64, value: u64)
src/unix/apple/macos/network.rs:184
↓ 1 callersFunctionupdate_network_data
(inner: &mut NetworkDataInner, data: &if_data64)
src/unix/apple/macos/network.rs:189
↓ 1 callersFunctionupdate_networks
(interfaces: &mut HashMap<OsString, NetworkData>)
src/unix/apple/macos/network.rs:20
↓ 1 callersMethodupdate_old
(&mut self)
src/unix/bsd/freebsd/disk.rs:147
↓ 1 callersMethodupdate_old
(&mut self)
src/unix/bsd/netbsd/disk.rs:108
↓ 1 callersFunctionupdate_optional_path
(target: &mut Option<PathBuf>, new_val: Option<&[u8]>)
src/unix/linux/process.rs:1037
↓ 1 callersFunctionupdate_parent_pid
(p: &mut ProcessInner, parent_pid: Option<Pid>, parts: &Parts)
src/unix/linux/process.rs:1122
↓ 1 callersFunctionupdate_proc_info
( kproc: &libc::kinfo_proc2, system_info: &super::system::SystemInfo, now: u64, refresh_kind:
src/unix/bsd/netbsd/process.rs:103
↓ 1 callersFunctionupdate_process
( wrap: &Wrap, pid: Pid, time_interval: Option<f64>, now: u64, refresh_kind: ProcessRefres
src/unix/apple/macos/process.rs:755
↓ 1 callersFunctionupdate_process_disk_activity
( p: &mut ProcessInner, proc_dir: &mut ProcDir<'_>, buf: &mut Vec<u8>, )
src/unix/linux/process.rs:781
↓ 1 callersMethodupdate_procs_cpu
(&mut self, refresh_kind: ProcessRefreshKind)
src/unix/linux/system.rs:150
↓ 1 callersFunctionupdate_root
On Windows, the root folder is always the current drive. So we get it from its `cwd`.
src/windows/process.rs:657
↓ 1 callersFunctionupdate_threads_gpu_info
Threads which share the fd table of their parent process aren't refreshed as it would be a duplicate. Instead, we go through all updated processes and
src/unix/linux/process.rs:419
↓ 1 callersFunctionupdate_time_and_memory
( proc_dir: &mut ProcDir<'_>, entry: &mut ProcessInner, parts: &Parts, uptime: u64, info:
src/unix/linux/process.rs:1356
↓ 1 callersMethodusage
(&self)
src/unix/bsd/freebsd/disk.rs:105
↓ 1 callersMethodusage
(&self)
src/unix/bsd/netbsd/disk.rs:99
↓ 1 callersMethodusage
(&self)
src/windows/gpu.rs:51
↓ 1 callersMethodusage
Returns this CPU's usage. Note: You'll need to refresh it at least twice (diff between the first and the second is how CPU usage is computed) at firs
src/common/system.rs:3033
↓ 1 callersMethodused_swap
Returns the amount of used SWAP in bytes. ```no_run use sysinfo::System; if let Ok(s) = System::new_all() { println!("{} bytes", s.used_swap()); } `
src/common/system.rs:716
↓ 1 callersFunctionutf16_to_string
(buf: &[u16])
src/windows/gpu.rs:235
↓ 1 callersMethodvendor
Returns the name of the vendor of this GPU. Returns `None` if the information cannot be retrieved.
src/common/gpu.rs:249
↓ 1 callersFunctionwalk_plane
( entry: &IOReleaser, plane: &CStr, result: &mut HashMap<Pid, u64>, keys: &Key
src/unix/apple/system.rs:713
↓ 1 callersFunctionwindows_8_1_or_newer
()
src/windows/process.rs:255
↓ 1 callersFunctionwith_autorelease
Calls the provided closure in the context of a new autorelease pool that is drained before returning. ## SAFETY: You must not return an Objective-C o
src/unix/apple/disk.rs:558
↓ 1 callersMethodwork_time
(&self)
src/unix/linux/cpu.rs:252
Functionaccumulated_cpu_time
()
tests/process.rs:1038
Methodaccumulated_cpu_time
(&self)
src/unix/bsd/system_common.rs:134
Methodaccumulated_cpu_time
(&self)
src/unix/apple/macos/process.rs:209
Methodaccumulated_cpu_time
(&self)
src/unix/apple/app_store/process.rs:76
Methodaccumulated_cpu_time
(&self)
src/unix/linux/process.rs:254
Methodaccumulated_cpu_time
(&self)
src/windows/process.rs:474
Methodaccumulated_cpu_time
(&self)
src/unknown/process.rs:86
Methodadd_assign
(&mut self, other: Self)
tests/code_checkers/utils.rs:13
Methodasset_tag
(&self)
src/unix/bsd/freebsd/motherboard.rs:13
Methodasset_tag
(&self)
src/unix/bsd/netbsd/motherboard.rs:14
Methodasset_tag
(&self)
src/unix/apple/motherboard.rs:50
Methodasset_tag
(&self)
src/unix/linux/motherboard.rs:13
Methodasset_tag
(&self)
src/windows/motherboard.rs:21
Methodasset_tag
(&self)
src/unknown/motherboard.rs:28
Methodavailable_memory
(&self)
src/unix/bsd/freebsd/system.rs:123
Methodavailable_memory
(&self)
src/unix/bsd/netbsd/system.rs:136
Methodavailable_memory
(&self)
src/unix/apple/system.rs:355
Methodavailable_memory
(&self)
src/unix/linux/system.rs:290
Methodavailable_memory
(&self)
src/windows/system.rs:361
Methodavailable_memory
(&self)
src/unknown/system.rs:78
Methodavailable_memory
Returns the amount of available RAM in bytes. Generally, "free" memory refers to unallocated memory whereas "available" memory refers to memory that
src/common/system.rs:664
Methodavailable_space
(&self)
src/unix/bsd/freebsd/disk.rs:89
Methodavailable_space
(&self)
src/unix/bsd/netbsd/disk.rs:83
Methodavailable_space
(&self)
src/unix/apple/disk.rs:99
Methodavailable_space
(&self)
src/unix/linux/disk.rs:103
Methodavailable_space
(&self)
src/windows/disk.rs:193
Methodavailable_space
(&self)
src/unknown/disk.rs:47
Methodavailable_space
Returns the available disk size, in bytes. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks {
src/common/disk.rs:131
Functionbench_first_refresh_processes
(b: &mut test::Bencher)
benches/basic.rs:51
Functionbench_new
(b: &mut test::Bencher)
benches/basic.rs:11
Functionbench_new_all
(b: &mut test::Bencher)
benches/basic.rs:19
Functionbench_refresh_all
(b: &mut test::Bencher)
benches/basic.rs:27
Functionbench_refresh_components
(b: &mut test::Bencher)
benches/basic.rs:138
Functionbench_refresh_cpu_usage
(b: &mut test::Bencher)
benches/basic.rs:125
Functionbench_refresh_disk
(b: &mut test::Bencher)
benches/basic.rs:77
Functionbench_refresh_disks
(b: &mut test::Bencher)
benches/basic.rs:89
Functionbench_refresh_memory
(b: &mut test::Bencher)
benches/basic.rs:113
Functionbench_refresh_networks
(b: &mut test::Bencher)
benches/basic.rs:101
Functionbench_refresh_process
(b: &mut test::Bencher)
benches/basic.rs:63
Functionbench_refresh_processes
(b: &mut test::Bencher)
benches/basic.rs:38
Functionbench_refresh_users_list
(b: &mut test::Bencher)
benches/basic.rs:149
Methodboot_time
()
src/unix/bsd/freebsd/system.rs:151
Methodboot_time
()
src/unix/bsd/netbsd/system.rs:164
Methodboot_time
()
src/unix/apple/system.rs:400
Methodboot_time
()
src/unix/linux/system.rs:334
Methodboot_time
()
src/windows/system.rs:385
Methodboot_time
()
src/unknown/system.rs:102
← previousnext →601–700 of 1,805, ranked by callers