rgm_ui 0.1.0

A Rust GPU Monitor with egui UI for NVIDIA GPUs on Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use eframe::egui::ViewportBuilder;

use rgm_ui::app::RgmApp;

fn main() {
    let native_options = eframe::NativeOptions {
        viewport: ViewportBuilder::default().with_inner_size([1000.0, 700.0]),
        ..Default::default()
    };

    eframe::run_native(
        "RGM",
        native_options,
        Box::new(|cc| Ok(Box::new(RgmApp::new(cc)))),
    )
    .expect("Failed to start application");
}