|
Blender V4.5
|
#include <stats.h>
Public Types | |
| using | entry_map = unordered_map<ustring, NamedSampleCountPair> |
Public Member Functions | |
| NamedSampleCountStats () | |
| string | full_report (const int indent_level=0) |
| void | add (const ustring &name, const uint64_t samples, const uint64_t hits) |
Public Attributes | |
| entry_map | entries |
Definition at line 125 of file scene/stats.h.
| using NamedSampleCountStats::entry_map = unordered_map<ustring, NamedSampleCountPair> |
Definition at line 132 of file scene/stats.h.
|
default |
References add(), and full_report().
| void NamedSampleCountStats::add | ( | const ustring & | name, |
| const uint64_t | samples, | ||
| const uint64_t | hits ) |
Definition at line 160 of file stats.cpp.
References entries, and NamedSampleCountPair::NamedSampleCountPair().
Referenced by RenderStats::collect_profiling(), and NamedSampleCountStats().
| string NamedSampleCountStats::full_report | ( | const int | indent_level = 0 | ) |
Definition at line 171 of file stats.cpp.
References entries, NamedSampleCountPair::hits, kIndentNumSpaces, result, NamedSampleCountPair::samples, sort(), and string_printf().
Referenced by RenderStats::full_report(), and NamedSampleCountStats().
| entry_map NamedSampleCountStats::entries |
Definition at line 133 of file scene/stats.h.
Referenced by add(), RenderStats::collect_profiling(), and full_report().