Class: Hone::Profilers::HotspotInfo
- Inherits:
-
Data
- Object
- Data
- Hone::Profilers::HotspotInfo
- Defined in:
- lib/hone/profilers/base.rb
Overview
Shared data structure for hotspot information across all profilers
Instance Attribute Summary collapse
-
#cpu_percent ⇒ Object
readonly
Returns the value of attribute cpu_percent.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#samples ⇒ Object
readonly
Returns the value of attribute samples.
Instance Attribute Details
#cpu_percent ⇒ Object (readonly)
Returns the value of attribute cpu_percent
8 9 10 |
# File 'lib/hone/profilers/base.rb', line 8 def cpu_percent @cpu_percent end |
#file ⇒ Object (readonly)
Returns the value of attribute file
8 9 10 |
# File 'lib/hone/profilers/base.rb', line 8 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line
8 9 10 |
# File 'lib/hone/profilers/base.rb', line 8 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
8 9 10 |
# File 'lib/hone/profilers/base.rb', line 8 def name @name end |
#samples ⇒ Object (readonly)
Returns the value of attribute samples
8 9 10 |
# File 'lib/hone/profilers/base.rb', line 8 def samples @samples end |