47 : m_reserved(0), m_stats(parent)
49 for (
int i = 0;
i < number_of_TBEs; ++
i)
54 : statistics::
Group(parent),
55 ADD_STAT(avg_size,
"Avg. number of slots allocated"),
56 ADD_STAT(avg_util,
"Avg. utilization"),
57 ADD_STAT(avg_reserved,
"Avg. number of slots reserved")
std::stack< int > m_slots_avail
TBEStorage(statistics::Group *parent, int number_of_TBEs)
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
TBEStorageStats(statistics::Group *parent)