mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-08-26 05:16:55 +00:00
feature: add gpu ram collector for nvidia feature flag (#794)
* add gpu ram collector for nvidia feature flag * add row for TX in basic layout * size gpu point_vec * use vec for mem basic widget drawing * remove to_owned * code review: change mem tuple to struct with cfg fields, rename mem_basic ratio and use vec macro for layout * build on freebsd
This commit is contained in:
@@ -210,6 +210,11 @@ fn main() -> Result<()> {
|
||||
app.converted_data.arc_data =
|
||||
convert_arc_data_points(&app.data_collection);
|
||||
}
|
||||
#[cfg(feature = "gpu")]
|
||||
{
|
||||
app.converted_data.gpu_data =
|
||||
convert_gpu_data(&app.data_collection);
|
||||
}
|
||||
let (memory_labels, swap_labels) =
|
||||
convert_mem_labels(&app.data_collection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user