History

Added script value and script value proxy counters

ksuprynowicz committed 3 years ago

Commit cd110661 parent 785867311 files · +85 −12Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptEngineV8.cpp (1 of 11 files). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptEngineV8.cpp+4−0
@@ -1720,6 +1720,10 @@ ScriptEngineMemoryStatistics ScriptEngineV8::getMemoryUsageStatistics() { · 1719 unmodified lines
1720 statistics.totalAvailableSize = heapStatistics.total_available_size();1720 statistics.totalAvailableSize = heapStatistics.total_available_size();
1721 statistics.totalGlobalHandlesSize = heapStatistics.total_global_handles_size();1721 statistics.totalGlobalHandlesSize = heapStatistics.total_global_handles_size();
1722 statistics.usedGlobalHandlesSize = heapStatistics.used_global_handles_size();1722 statistics.usedGlobalHandlesSize = heapStatistics.used_global_handles_size();
1723#ifdef OVERTE_V8_HANDLE_COUNTERS
1724 statistics.scriptValueCount = scriptValueCount;
1725 statistics.scriptValueProxyCount = scriptValueProxyCount;
1726#endif
1723 1727
1724 return statistics;1728 return statistics;
1725}1729}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t