class BucketMatch
Defined at line 26 of file ../../src/developer/memory/metrics/bucket_match.h
Public Methods
void BucketMatch (std::string name, const std::string & process, const std::string & vmo, std::optional<int64_t> event_code)
Defined at line 18 of file ../../src/developer/memory/metrics/bucket_match.cc
bool ProcessMatch (const Process & process)
Defined at line 27 of file ../../src/developer/memory/metrics/bucket_match.cc
const std::string & name ()
Defined at line 30 of file ../../src/developer/memory/metrics/bucket_match.h
std::optional<int64_t> event_code ()
Returns the Cobalt event code associated with this bucket. This is used for reporting bucket
usage through Cobalt.
Defined at line 33 of file ../../src/developer/memory/metrics/bucket_match.h
bool VmoMatch (const std::string & vmo)
Defined at line 40 of file ../../src/developer/memory/metrics/bucket_match.cc
std::optional<std::vector<BucketMatch>> ReadBucketMatchesFromConfig (const std::string & config_string)
Parses a configuration string (e.g. stored in a file) to create bucket matches. The
configuration format is described in the README.md file in this directory. Returns true if the
parsing succeded, false otherwise.
Defined at line 53 of file ../../src/developer/memory/metrics/bucket_match.cc