mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
14 lines
310 B
Rust
14 lines
310 B
Rust
use crate::system::CpuTimeline;
|
|
use std::{collections::HashMap, sync::Mutex};
|
|
|
|
#[derive(Default)]
|
|
pub struct SysMetrics {
|
|
pub stats: Mutex<HashMap<String, CpuTimeline>>,
|
|
}
|
|
|
|
#[derive(Default)]
|
|
pub struct PhysicsMetrics {
|
|
pub entity_entity_collision_checks: u64,
|
|
pub entity_entity_collisions: u64,
|
|
}
|