Re-exports§
pub use crate::*;
pub use cgroup::*;
pub use collector::*;
pub use network::*;
pub use process::*;
pub use resctrl::*;
pub use sample::*;
pub use system::*;
pub use tc_model::*;
Modules§
- cgroup
- collector
- collector_
plugin - gpu_
model - gpu_
stats_ collector_ plugin - network
- process
- resctrl
- sample
- system
- tc_
collector_ plugin - tc_
model
Structs§
Enums§
- Field
- A wrapper for different field types used in Models. By this way we can query different fields in a single function without using Box.
- GpuModel
Field Id - Model
Field Id
Traits§
- FieldId
- Marker trait to bind FieldId back to Queriable for type inference.
- Nameable
- A
Model
that can be named - Queriable
- Each Model is composed of Fields and optionally sub-Models. The Queriable trait let us query() a Model for a particular Field within the hierarchy with the given FieldId.
- Queriable
Container - Type that contains sub-queriables of the same type, individually retrieveable by some index. It is itself a Queriable.
- Recursive
- Models containing sub-Models with its own type, similar to a node in a tree. Such Model has a depth value for illustrating the tree hierarchy.
Functions§
- get_
sample_ model - Get a sample
Model
. There are no guarantees internal consistency of the model, neither are values in the model supposed to be realistic. - sort_
queriables