struct FractionalBytes

Defined at line 33 of file ../../src/developer/memory/metrics/capture.h

TODO(https://fxbug.dev/338300808): Rename this to something more generic and incorporate it into

ffl, as it duplicates code used inside the kernel.

Public Members

uint64_t integral
Fixed fractional
static Fixed kOneByte

Public Methods

FractionalBytes operator+ (const uint64_t & other)

Defined at line 37 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes operator- (const uint64_t & other)

Defined at line 42 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes operator/ (const uint64_t & other)

Defined at line 47 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes & operator+= (const uint64_t & other)

Defined at line 52 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes & operator-= (const uint64_t & other)

Defined at line 57 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes & operator/= (const uint64_t & other)

Defined at line 62 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes operator+ (const FractionalBytes & other)

Defined at line 81 of file ../../src/developer/memory/metrics/capture.h

FractionalBytes & operator+= (const FractionalBytes & other)

Defined at line 86 of file ../../src/developer/memory/metrics/capture.h

bool operator< (const FractionalBytes & other)

Defined at line 103 of file ../../src/developer/memory/metrics/capture.h

bool operator> (const FractionalBytes & other)

Defined at line 107 of file ../../src/developer/memory/metrics/capture.h

bool operator<= (const FractionalBytes & other)

Defined at line 111 of file ../../src/developer/memory/metrics/capture.h

bool operator>= (const FractionalBytes & other)

Defined at line 112 of file ../../src/developer/memory/metrics/capture.h

bool operator== (const uint64_t & other)

Defined at line 113 of file ../../src/developer/memory/metrics/capture.h

bool operator!= (const uint64_t & other)

Defined at line 116 of file ../../src/developer/memory/metrics/capture.h

bool operator== (const FractionalBytes & other)

Defined at line 117 of file ../../src/developer/memory/metrics/capture.h

bool operator!= (const FractionalBytes & other)

Defined at line 120 of file ../../src/developer/memory/metrics/capture.h