Searched refs:v8_heap_stats (Results 1 – 2 of 2) sorted by relevance
212 HeapStatistics v8_heap_stats; in MemoryUsage() local213 isolate->GetHeapStatistics(&v8_heap_stats); in MemoryUsage()228 fields[1] = v8_heap_stats.total_heap_size(); in MemoryUsage()229 fields[2] = v8_heap_stats.used_heap_size(); in MemoryUsage()230 fields[3] = v8_heap_stats.external_memory(); in MemoryUsage()
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_physical_size()); in PrintGCStatistics()583 writer->json_keyvalue("usedMemory", v8_heap_stats.used_heap_size()); in PrintGCStatistics()585 v8_heap_stats.total_available_size()); in PrintGCStatistics()586 writer->json_keyvalue("memoryLimit", v8_heap_stats.heap_size_limit()); in PrintGCStatistics()