You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::Sample

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb

Overview

Represents a sample of performance data.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The sample's ARN.

Returns:

  • (String)


3425
3426
3427
3428
3429
3430
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 3425

class Sample < Struct.new(
  :arn,
  :type,
  :url)
  include Aws::Structure
end

#typeString

The sample's type.

Must be one of the following values:

  • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.

  • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.

  • NATIVE_AVG_DRAWTIME

  • NATIVE_FPS

  • NATIVE_FRAMES

  • NATIVE_MAX_DRAWTIME

  • NATIVE_MIN_DRAWTIME

  • OPENGL_AVG_DRAWTIME

  • OPENGL_FPS

  • OPENGL_FRAMES

  • OPENGL_MAX_DRAWTIME

  • OPENGL_MIN_DRAWTIME

  • RX

  • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.

  • THREADS: A threads sample type. This is expressed as the total number of threads per app process.

  • TX

  • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.

Returns:

  • (String)


3425
3426
3427
3428
3429
3430
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 3425

class Sample < Struct.new(
  :arn,
  :type,
  :url)
  include Aws::Structure
end

#urlString

The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.

Returns:

  • (String)


3425
3426
3427
3428
3429
3430
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 3425

class Sample < Struct.new(
  :arn,
  :type,
  :url)
  include Aws::Structure
end