feat(nvidia): mark unused params in get_system_metrics
Mark current_tokens and max_tokens parameters as unused in get_system_metrics function by prefixing them with underscores. This change clarifies that these parameters are intentionally unused in the function implementation while maintaining the function signature for potential future use.
This commit is contained in:
parent
c7fbb46e49
commit
aac36afaba
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ pub struct SystemMetrics {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets current system metrics
|
/// Gets current system metrics
|
||||||
pub fn get_system_metrics(current_tokens: usize, max_tokens: usize) -> Result<SystemMetrics> {
|
pub fn get_system_metrics(_current_tokens: usize, _max_tokens: usize) -> Result<SystemMetrics> {
|
||||||
let mut sys = System::new();
|
let mut sys = System::new();
|
||||||
sys.refresh_cpu_usage();
|
sys.refresh_cpu_usage();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue