veloren_
common_
ecs
0.10.0
Module system
Module Items
Structs
Enums
Traits
Functions
In crate veloren_
common_
ecs
veloren_common_ecs
Module
system
Copy item path
Source
Structs
§
CpuTime
Stats
CpuTimeline
Job
This Struct will wrap the System in order to avoid the can only impl trait for local defined structs error It also contains the cpu measurements
Enums
§
Origin
ParMode
measuring the level of threads a unit of code ran on. Use Rayon when it ran on their threadpool. Use Exact when you know on how many threads your code ran on exactly.
Phase
Traits
§
System
This trait wraps around specs::System and does additional veloren tasks like metrics collection
Functions
§
dispatch
gen_
stats
The Idea is to transform individual timelines per system to a map of all cores and what they (prob) are working on.
run_now