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:
Justin Martin
2022-10-15 15:08:48 -04:00
committed by GitHub
parent 41970d9c64
commit bd35bbdc9c
17 changed files with 524 additions and 133 deletions
+5
View File
@@ -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);