PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::storage::hsm_statistics Struct Reference

Combined statistics for all HSM tiers. More...

#include <hsm_types.h>

Collaboration diagram for kcenon::pacs::storage::hsm_statistics:
Collaboration graph

Public Member Functions

auto total_instances () const noexcept -> std::size_t
 Get total instance count across all tiers.
 
auto total_bytes () const noexcept -> std::size_t
 Get total bytes across all tiers.
 

Public Attributes

tier_statistics hot
 Statistics for hot tier.
 
tier_statistics warm
 Statistics for warm tier.
 
tier_statistics cold
 Statistics for cold tier.
 

Detailed Description

Combined statistics for all HSM tiers.

Definition at line 282 of file hsm_types.h.

Member Function Documentation

◆ total_bytes()

auto kcenon::pacs::storage::hsm_statistics::total_bytes ( ) const -> std::size_t
inlinenodiscardnoexcept

Get total bytes across all tiers.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/hsm_types.h.

Definition at line 302 of file hsm_types.h.

302 {
304 }
tier_statistics cold
Statistics for cold tier.
Definition hsm_types.h:290
tier_statistics warm
Statistics for warm tier.
Definition hsm_types.h:287
tier_statistics hot
Statistics for hot tier.
Definition hsm_types.h:284
std::size_t total_bytes
Total bytes stored in this tier.
Definition hsm_types.h:270

References cold, hot, kcenon::pacs::storage::tier_statistics::total_bytes, and warm.

◆ total_instances()

auto kcenon::pacs::storage::hsm_statistics::total_instances ( ) const -> std::size_t
inlinenodiscardnoexcept

Get total instance count across all tiers.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/hsm_types.h.

Definition at line 295 of file hsm_types.h.

295 {
297 }
std::size_t instance_count
Number of instances in this tier.
Definition hsm_types.h:267

References cold, hot, kcenon::pacs::storage::tier_statistics::instance_count, and warm.

Member Data Documentation

◆ cold

tier_statistics kcenon::pacs::storage::hsm_statistics::cold

Statistics for cold tier.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/hsm_types.h.

Definition at line 290 of file hsm_types.h.

Referenced by total_bytes(), and total_instances().

◆ hot

tier_statistics kcenon::pacs::storage::hsm_statistics::hot

Statistics for hot tier.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/hsm_types.h.

Definition at line 284 of file hsm_types.h.

Referenced by total_bytes(), and total_instances().

◆ warm

tier_statistics kcenon::pacs::storage::hsm_statistics::warm

Statistics for warm tier.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/hsm_types.h.

Definition at line 287 of file hsm_types.h.

Referenced by total_bytes(), and total_instances().


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