Hermes  0.9.5-beta
Hierarchical Distributed I/O Buffering System
hermes::TargetID Union Reference

#include <hermes_types.h>

Public Attributes

struct {
   u32   node_id
 
   u16   device_id
 
   u16   index
 
bits
 
u64 as_int
 

Detailed Description

A TargetID uniquely identifies a buffering target within the system.

Member Data Documentation

◆ node_id

u32 hermes::TargetID::node_id

The ID of the node in charge of this target.

◆ device_id

u16 hermes::TargetID::device_id

The ID of the virtual device that backs this target. It is an index into the Device array starting at BufferPool::devices_offset (on the node with ID node_id).

◆ index

u16 hermes::TargetID::index

The index into the Target array starting at BufferPool::targets_offset (on the node with ID node_id).

◆ 

struct { ... } hermes::TargetID::bits

The Target ID as bitfield

◆ as_int

u64 hermes::TargetID::as_int

The TargetID as a unsigned 64-bit integer


The documentation for this union was generated from the following file: