Home
last modified time | relevance | path

Searched refs:v8_heap_stats (Results 1 – 2 of 2) sorted by relevance

/third_party/node/src/
Dnode_report.cc575 HeapStatistics v8_heap_stats; in PrintGCStatistics() local
576 isolate->GetHeapStatistics(&v8_heap_stats); in PrintGCStatistics()
580 writer->json_keyvalue("totalMemory", v8_heap_stats.total_heap_size()); in PrintGCStatistics()
582 v8_heap_stats.total_heap_size_executable()); in PrintGCStatistics()
584 v8_heap_stats.total_physical_size()); in PrintGCStatistics()
586 v8_heap_stats.total_available_size()); in PrintGCStatistics()
588 v8_heap_stats.total_global_handles_size()); in PrintGCStatistics()
590 v8_heap_stats.used_global_handles_size()); in PrintGCStatistics()
591 writer->json_keyvalue("usedMemory", v8_heap_stats.used_heap_size()); in PrintGCStatistics()
592 writer->json_keyvalue("memoryLimit", v8_heap_stats.heap_size_limit()); in PrintGCStatistics()
[all …]
Dnode_process_methods.cc184 HeapStatistics v8_heap_stats; in MemoryUsage() local
185 isolate->GetHeapStatistics(&v8_heap_stats); in MemoryUsage()
200 fields[1] = static_cast<double>(v8_heap_stats.total_heap_size()); in MemoryUsage()
201 fields[2] = static_cast<double>(v8_heap_stats.used_heap_size()); in MemoryUsage()
202 fields[3] = static_cast<double>(v8_heap_stats.external_memory()); in MemoryUsage()