Blender V4.5
NamedSampleCountStats Class Reference

#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
 

Detailed Description

Definition at line 125 of file scene/stats.h.

Member Typedef Documentation

◆ entry_map

using NamedSampleCountStats::entry_map = unordered_map<ustring, NamedSampleCountPair>

Definition at line 132 of file scene/stats.h.

Constructor & Destructor Documentation

◆ NamedSampleCountStats()

NamedSampleCountStats::NamedSampleCountStats ( )
default

Member Function Documentation

◆ add()

void NamedSampleCountStats::add ( const ustring & name,
const uint64_t samples,
const uint64_t hits )

Definition at line 160 of file stats.cpp.

References entries, name, and samples.

Referenced by RenderStats::collect_profiling().

◆ full_report()

string NamedSampleCountStats::full_report ( const int indent_level = 0)

Member Data Documentation

◆ entries

entry_map NamedSampleCountStats::entries

Definition at line 133 of file scene/stats.h.

Referenced by add(), RenderStats::collect_profiling(), and full_report().


The documentation for this class was generated from the following files: