Class: Datadog::Profiling::Events::StackSample
- Inherits:
-
Stack
- Object
- Datadog::Profiling::Event
- Stack
- Datadog::Profiling::Events::StackSample
- Defined in:
- lib/ddtrace/profiling/events/stack.rb
Overview
Describes a stack sample
Instance Attribute Summary collapse
-
#cpu_time_interval_ns ⇒ Object
readonly
Returns the value of attribute cpu_time_interval_ns.
-
#wall_time_interval_ns ⇒ Object
readonly
Returns the value of attribute wall_time_interval_ns.
Attributes inherited from Stack
#frames, #hash, #span_id, #thread_id, #total_frame_count, #trace_id
Attributes inherited from Datadog::Profiling::Event
Instance Method Summary collapse
-
#initialize(timestamp, frames, total_frame_count, thread_id, trace_id, span_id, cpu_time_interval_ns, wall_time_interval_ns) ⇒ StackSample
constructor
A new instance of StackSample.
Constructor Details
#initialize(timestamp, frames, total_frame_count, thread_id, trace_id, span_id, cpu_time_interval_ns, wall_time_interval_ns) ⇒ StackSample
Returns a new instance of StackSample.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/ddtrace/profiling/events/stack.rb', line 50 def initialize( , frames, total_frame_count, thread_id, trace_id, span_id, cpu_time_interval_ns, wall_time_interval_ns ) super( , frames, total_frame_count, thread_id, trace_id, span_id ) @cpu_time_interval_ns = cpu_time_interval_ns @wall_time_interval_ns = wall_time_interval_ns end |
Instance Attribute Details
#cpu_time_interval_ns ⇒ Object (readonly)
Returns the value of attribute cpu_time_interval_ns.
46 47 48 |
# File 'lib/ddtrace/profiling/events/stack.rb', line 46 def cpu_time_interval_ns @cpu_time_interval_ns end |
#wall_time_interval_ns ⇒ Object (readonly)
Returns the value of attribute wall_time_interval_ns.
46 47 48 |
# File 'lib/ddtrace/profiling/events/stack.rb', line 46 def wall_time_interval_ns @wall_time_interval_ns end |