struct Protocol::HeapProfiler::HeapStatsUpdate

Overview

If heap objects tracking has been started then backend may send update for one or more fragments

Included Modules

Defined in:

protocol/heap_profiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def stats_update : Array(Int::Primitive) #

An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.


[View source]