struct CompressionMetrics

Defined at line 17 of file ../../src/storage/blobfs/metrics/compression_metrics.h

Encapsulates Blobfs compression metrics. **NOT thread-safe**.

Public Methods

void Update (const InodePtr & inode)

Update compression metrics with stats from the given |inode|.

Defined at line 14 of file ../../src/storage/blobfs/metrics/compression_metrics.cc

void CompressionMetrics ()

Defined at line 24 of file ../../src/storage/blobfs/metrics/compression_metrics.h

Properties Attach (inspect::Node & node)

Attach the current values of compression metrics to the given |node|, returning ownership

of the newly created Inspect properties.

Defined at line 24 of file ../../src/storage/blobfs/metrics/compression_metrics.cc

Records