Class: MemprofilerPprof::Collector

Inherits:
Object
  • Object
show all
Defined in:
ext/ruby_memprofiler_pprof_ext/collector.c

Instance Method Summary collapse

Constructor Details

#initializeObject



63
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 63

static VALUE collector_initialize(int argc, VALUE *argv, VALUE self);

Instance Method Details

#flushObject



82
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 82

static VALUE collector_flush(int argc, VALUE *argv, VALUE self);

#last_mark_nsecsObject



124
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 124

static VALUE collector_get_last_mark_nsecs(VALUE self);

#live_heap_samples_countObject



117
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 117

static VALUE collector_live_heap_samples_count(VALUE self);

#mark_table_sizeObject



125
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 125

static VALUE collector_get_mark_table_size(VALUE self);

#max_heap_samplesObject



120
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 120

static VALUE collector_get_max_heap_samples(VALUE self);

#max_heap_samples=Object



121
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 121

static VALUE collector_set_max_heap_samples(VALUE self, VALUE newval);

#pretty_backtracesObject



122
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 122

static VALUE collector_get_pretty_backtraces(VALUE self);

#pretty_backtraces=Object



123
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 123

static VALUE collector_set_pretty_backtraces(VALUE self, VALUE newval);

#profileObject



116
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 116

static VALUE collector_profile(VALUE self);

#running?Boolean

Returns:

  • (Boolean)


81
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 81

static VALUE collector_is_running(VALUE self);

#sample_rateObject



118
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 118

static VALUE collector_get_sample_rate(VALUE self);

#sample_rate=Object



119
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 119

static VALUE collector_set_sample_rate(VALUE self, VALUE newval);

#start!Object



79
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 79

static VALUE collector_start(VALUE self);

#stop!Object



80
# File 'ext/ruby_memprofiler_pprof_ext/collector.c', line 80

static VALUE collector_stop(VALUE self);