class Google::Apis::DataflowV1b3::CpuTime

Modeled after information exposed by /proc/stat.

Attributes

rate[RW]

Average CPU utilization rate (% non-idle cpu / second) since previous sample. Corresponds to the JSON property `rate` @return [Float]

timestamp[RW]

Timestamp of the measurement. Corresponds to the JSON property `timestamp` @return [String]

total_ms[RW]

Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up. Corresponds to the JSON property `totalMs` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 301
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 306
def update!(**args)
  @rate = args[:rate] if args.key?(:rate)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @total_ms = args[:total_ms] if args.key?(:total_ms)
end