Class: Hone::Profilers::HotspotInfo

Inherits:
Data
  • Object
show all
Defined in:
lib/hone/profilers/base.rb

Overview

Shared data structure for hotspot information across all profilers

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_percentObject (readonly)

Returns the value of attribute cpu_percent

Returns:

  • (Object)

    the current value of cpu_percent



8
9
10
# File 'lib/hone/profilers/base.rb', line 8

def cpu_percent
  @cpu_percent
end

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



8
9
10
# File 'lib/hone/profilers/base.rb', line 8

def file
  @file
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



8
9
10
# File 'lib/hone/profilers/base.rb', line 8

def line
  @line
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/hone/profilers/base.rb', line 8

def name
  @name
end

#samplesObject (readonly)

Returns the value of attribute samples

Returns:

  • (Object)

    the current value of samples



8
9
10
# File 'lib/hone/profilers/base.rb', line 8

def samples
  @samples
end