class InspectDataBudget

Defined at line 23 of file ../../src/developer/forensics/feedback_data/inspect_data_budget.h

Predicts the uncompressed inspect data size budget in order to keep the snapshot's size below

2.0 MB. If the file 'limit_data_flag_path' does not exist, prediction is disabled.

Public Methods

void InspectDataBudget (bool limit_data, InspectNodeManager * node, cobalt::Logger * cobalt)

Defined at line 27 of file ../../src/developer/forensics/feedback_data/inspect_data_budget.cc

std::optional<size_t> SizeInBytes ()

Returns the predicted uncompressed data size for inspect.

Defined at line 30 of file ../../src/developer/forensics/feedback_data/inspect_data_budget.h

void UpdateBudget (const std::map<std::string, ArchiveFileStats> & file_size_stats)

Defined at line 49 of file ../../src/developer/forensics/feedback_data/inspect_data_budget.cc