[−][src]Enum hwloc2::ObjectType
Represents the type of a topology object.
Note that (partial) ordering for object types is implemented as a call
into the hwloc
library which defines ordering as follows:
- A == B if
ObjectType::A
andObjectType::B
are the same. - A < B if
ObjectType::A
includes objects of typeObjectType::B
. - A > B if objects of
ObjectType::A
are included in typeObjectType::B
.
It can also help to think of it as comparing the relative depths of each type, so
a ObjectType::System
will be smaller than a ObjectType::PU
since the system
contains processing units.
Variants
The typical root object type. A set of processors and memory with cache coherency.
Physical package, what goes into a socket. In the physical meaning, i.e. that you can add or remove physically.
A computation unit (may be shared by several logical processors).
Processing Unit, or (Logical) Processor.
An execution unit (may share a core with some other logical processors, e.g. in the case of an SMT core). Objects of this kind are always reported and can thus be used as fallback when others are not.
Data cache
Level 1 Data (or Unified) Cache.
Data cache
Level 2 Data (or Unified) Cache.
Data cache
Level 3 Data (or Unified) Cache.
Data cache
Level 4 Data (or Unified) Cache.
Data cache
Level 5 Data (or Unified) Cache.
Instruction cache
Level 1 Instruction cache (filtered out by default)
Instruction cache
Level 2 Instruction cache (filtered out by default)
Instruction cache
Level 3 Instruction cache (filtered out by default)
Group objects.
Objects which do not fit in the above but are detected by hwloc and are useful to take into account for affinity. For instance, some operating systems expose their arbitrary processors aggregation this way. And hwloc may insert such objects to group NUMA nodes according to their distances.
These objects are ignored when they do not bring any structure.
A set of processors around memory which the processors can directly access.
Any bridge that connects the host or an I/O bus, to another I/O bus.
Bridge objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled through the custom flags.
PCI device.
These objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled through the custom flags.
Operating system device.
These objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled through the custom flags.
Miscellaneous objects.
Objects without particular meaning, that can e.g. be added by the application for its own use, or by hwloc for miscellaneous objects such as MemoryModule (DIMMs).
Memory-side cache
Memory-side cache (filtered out by default).
A cache in front of a specific NUMA node.
Memory objects are not listed in the main children list, but rather in the dedicated Memory children list.
Memory-side cache have a special depth ::HWLOC_TYPE_DEPTH_MEMCACHE instead of a normal depth just like other objects in the main tree.
Die within a physical package.
A subpart of the physical package, that contains multiple cores.
An internal sentinel value.
Trait Implementations
impl Clone for ObjectType
[src]
fn clone(&self) -> ObjectType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectType
[src]
impl PartialEq<ObjectType> for ObjectType
[src]
impl PartialOrd<ObjectType> for ObjectType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,