Searched refs:v8_heap_stats (Results 1 – 2 of 2) sorted by relevance
575 HeapStatistics v8_heap_stats; in PrintGCStatistics() local576 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 …]
184 HeapStatistics v8_heap_stats; in MemoryUsage() local185 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()