|
Blender
V3.3
|
#include <stats.h>
Public Member Functions | |
| NamedSizeStats () | |
| void | add_entry (const NamedSizeEntry &entry) |
| string | full_report (int indent_level=0) |
Public Attributes | |
| size_t | total_size |
| vector< NamedSizeEntry > | entries |
Definition at line 44 of file scene/stats.h.
| void NamedSizeStats::add_entry | ( | const NamedSizeEntry & | entry | ) |
Definition at line 65 of file stats.cpp.
References entries, NamedSizeEntry::size, and total_size.
Referenced by GeometryManager::collect_statistics(), and ImageManager::collect_statistics().
| string NamedSizeStats::full_report | ( | int | indent_level = 0 | ) |
Definition at line 71 of file stats.cpp.
References entries, kIndentNumSpaces, NamedSizeEntry::name, result, NamedSizeEntry::size, sort(), string_human_readable_number(), string_human_readable_size(), string_printf(), and total_size.
Referenced by MeshStats::full_report(), and ImageStats::full_report().
| vector<NamedSizeEntry> NamedSizeStats::entries |
Definition at line 60 of file scene/stats.h.
Referenced by add_entry(), and full_report().
| size_t NamedSizeStats::total_size |
Definition at line 55 of file scene/stats.h.
Referenced by add_entry(), and full_report().