mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 14:59:52 -04:00
feat(metadata_analyzer): add old string table details
This commit is contained in:
parent
d87bae1c08
commit
a93776c0af
@ -219,9 +219,11 @@ void frozen_analyzer::add_string_list_size(std::vector<usage_info>& usage,
|
||||
auto index_size = list_size(list, field);
|
||||
auto data_size = list.back().end() - list.front().begin();
|
||||
auto size = index_size + data_size;
|
||||
auto fmt = fmt_size(name, count, size) +
|
||||
fmt_detail_pct("|- data", count, data_size) +
|
||||
fmt_detail_pct("'- index", count, index_size);
|
||||
auto fmt =
|
||||
fmt_size(name, count, size) +
|
||||
fmt_detail_pct("|- index", count, index_size, get_list_offset(list)) +
|
||||
fmt_detail_pct("'- data", count, data_size,
|
||||
get_offset(list.front().data()));
|
||||
usage.emplace_back(get_list_offset(list), size, fmt);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user