Class: Process::Metrics::Processor::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/process/metrics/processor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#processor_timeObject

Returns the value of attribute processor_time

Returns:

  • (Object)

    the current value of processor_time



19
20
21
# File 'lib/process/metrics/processor.rb', line 19

def processor_time
  @processor_time
end

#start_timeObject

Returns the value of attribute start_time

Returns:

  • (Object)

    the current value of start_time



19
20
21
# File 'lib/process/metrics/processor.rb', line 19

def start_time
  @start_time
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



19
20
21
# File 'lib/process/metrics/processor.rb', line 19

def timestamp
  @timestamp
end