Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alphastrata/nvtop-rust
/ functions
Functions
32 in github.com/alphastrata/nvtop-rust
⨍
Functions
32
◇
Types & classes
8
↓ 6 callers
Method
debug
(&self, msg: &str)
src/termite.rs:64
↓ 4 callers
Function
calculate_severity
Work out the %ile that `n` is in out of 0..100
src/stylers.rs:40
↓ 4 callers
Method
style_for
(&self)
src/stylers.rs:19
↓ 3 callers
Method
error
(&self, msg: &str)
src/termite.rs:58
↓ 3 callers
Function
get_gpu_processes
(gpu: &GpuInfo<'d>)
src/app.rs:713
↓ 2 callers
Function
extract_memory_value
(used_memory: nvml_wrapper::enums::device::UsedGpuMemory)
src/app.rs:755
↓ 2 callers
Function
fuzzy_score
Helper to score fuzzy matches (higher score = better match)
src/app.rs:667
↓ 2 callers
Function
try_init_gpus
( nvml: &'n Nvml, lh: &LoggingHandle, )
src/gpu.rs:106
↓ 1 callers
Function
draw_core_clock
(gpu: &GpuInfo<'d>)
src/app.rs:627
↓ 1 callers
Function
draw_core_utilisation
(gpu: &GpuInfo<'d>)
src/app.rs:601
↓ 1 callers
Function
draw_driver_info
(gpu: &GpuInfo<'d>)
src/app.rs:439
↓ 1 callers
Function
draw_fan_speed
(gpu: &GpuInfo<'d>)
src/app.rs:371
↓ 1 callers
Function
draw_gpu_die_temp
(gpu: &GpuInfo<'d>)
src/app.rs:395
↓ 1 callers
Function
draw_memory_usage
(gpu: &GpuInfo<'d>)
src/app.rs:413
↓ 1 callers
Function
draw_misc_with_processes
( gpu: &GpuInfo<'d>, search_term: &str, sort_by: &ProcessSortBy, sort_reverse: bool, proce
src/app.rs:465
↓ 1 callers
Function
fuzzy_match
Helper function for fuzzy matching using a more sophisticated algorithm
src/app.rs:642
↓ 1 callers
Function
run
( nvml: nvml_wrapper::Nvml, delay: Duration, lh: &LoggingHandle, )
src/app.rs:35
Function
clock_memory
()
src/gpu.rs:149
Method
deref
(&self)
src/gpu.rs:59
Method
empty
Creates a useless, empty (as the receiver is hung up before you get Self back), a nice dummy for when the app runs without logging.
src/termite.rs:52
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/errors.rs:12
Method
fmt
(&self, f: &mut fmt::Formatter)
src/gpu.rs:65
Method
from_device
(index: u32, device: Device<'d>)
src/gpu.rs:29
Method
info
(&self, msg: &str)
src/termite.rs:61
Method
init
Gives you back a LoggingHandle
src/termite.rs:30
Method
log_debug
(log_path: &Path, msg: &str)
src/termite.rs:83
Method
log_error
(log_path: &Path, msg: &str)
src/termite.rs:72
Method
log_info
(log_path: &Path, msg: &str)
src/termite.rs:77
Method
log_warn
(log_path: &Path, msg: &str)
src/termite.rs:89
Function
main
()
src/main.rs:9
Method
warn
(&self, msg: &str)
src/termite.rs:67
Method
write_to_log
(log_path: &Path, msg: &str)
src/termite.rs:94