18 #include "precompiled.h"
64 return "Script statistics";
88 return "max nominal heap bytes";
90 return CStr::FromUInt(n);
95 return "max JS_malloc bytes";
97 return CStr::FromUInt(n);
102 return "allocated bytes";
104 return CStr::FromUInt(n);
109 return "number of GCs";
111 return CStr::FromUInt(n);
virtual CStr GetTitle()
GetTitle: Longer, explanatory text (can be dynamic).
std::vector< std::pair< const ScriptInterface *, std::string > > m_ScriptInterfaces
CScriptStatsTable * g_ScriptStatsTable
void Add(const ScriptInterface *scriptInterface, const std::string &title)
virtual const std::vector< ProfileColumn > & GetColumns()
GetColumnDescriptions.
#define UNUSED(param)
mark a function parameter as unused and avoid the corresponding compiler warning. ...
std::vector< ProfileColumn > m_ColumnDescriptions
Class AbstractProfileTable: Profile table data model.
virtual size_t GetNumberRows()
GetNumberRows.
virtual CStr GetName()
GetName: Short descriptive name of this table (should be static).
virtual AbstractProfileTable * GetChild(size_t row)
GetChild: Return a row's child table if the child is expandable.
void Remove(const ScriptInterface *scriptInterface)
virtual CStr GetCellText(size_t row, size_t col)
GetCellText.
Struct ProfileColumn: Describes one column of an AbstractProfileTable.
Abstraction around a SpiderMonkey JSContext.