Class: Google::Apis::ToolresultsV1beta3::GraphicsStats
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ToolresultsV1beta3::GraphicsStats
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb 
Overview
Graphics statistics for the App. The information is collected from 'adb shell dumpsys graphicsstats'. For more info see: https://developer.android.com/ training/testing/performance.html Statistics will only be present for API 23+.
Instance Attribute Summary collapse
- 
  
    
      #buckets  ⇒ Array<Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Histogram of frame render times.
 - 
  
    
      #high_input_latency_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total "high input latency" events.
 - 
  
    
      #janky_frames  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total frames with slow render time.
 - 
  
    
      #missed_vsync_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total "missed vsync" events.
 - 
  
    
      #p50_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
50th percentile frame render time in milliseconds.
 - 
  
    
      #p90_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
90th percentile frame render time in milliseconds.
 - 
  
    
      #p95_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
95th percentile frame render time in milliseconds.
 - 
  
    
      #p99_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
99th percentile frame render time in milliseconds.
 - 
  
    
      #slow_bitmap_upload_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total "slow bitmap upload" events.
 - 
  
    
      #slow_draw_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total "slow draw" events.
 - 
  
    
      #slow_ui_thread_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total "slow UI thread" events.
 - 
  
    
      #total_frames  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total frames rendered by package.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GraphicsStats 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GraphicsStats.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GraphicsStats
Returns a new instance of GraphicsStats
      852 853 854  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 852 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket>
Histogram of frame render times. There should be 154 buckets ranging from [5ms,
6ms) to [4950ms, infinity)
Corresponds to the JSON property buckets
      795 796 797  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 795 def buckets @buckets end  | 
  
#high_input_latency_count ⇒ Fixnum
Total "high input latency" events.
Corresponds to the JSON property highInputLatencyCount
      800 801 802  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 800 def high_input_latency_count @high_input_latency_count end  | 
  
#janky_frames ⇒ Fixnum
Total frames with slow render time. Should be <= total_frames.
Corresponds to the JSON property jankyFrames
      805 806 807  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 805 def janky_frames @janky_frames end  | 
  
#missed_vsync_count ⇒ Fixnum
Total "missed vsync" events.
Corresponds to the JSON property missedVsyncCount
      810 811 812  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 810 def missed_vsync_count @missed_vsync_count end  | 
  
#p50_millis ⇒ Fixnum
50th percentile frame render time in milliseconds.
Corresponds to the JSON property p50Millis
      815 816 817  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 815 def p50_millis @p50_millis end  | 
  
#p90_millis ⇒ Fixnum
90th percentile frame render time in milliseconds.
Corresponds to the JSON property p90Millis
      820 821 822  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 820 def p90_millis @p90_millis end  | 
  
#p95_millis ⇒ Fixnum
95th percentile frame render time in milliseconds.
Corresponds to the JSON property p95Millis
      825 826 827  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 825 def p95_millis @p95_millis end  | 
  
#p99_millis ⇒ Fixnum
99th percentile frame render time in milliseconds.
Corresponds to the JSON property p99Millis
      830 831 832  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 830 def p99_millis @p99_millis end  | 
  
#slow_bitmap_upload_count ⇒ Fixnum
Total "slow bitmap upload" events.
Corresponds to the JSON property slowBitmapUploadCount
      835 836 837  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 835 def slow_bitmap_upload_count @slow_bitmap_upload_count end  | 
  
#slow_draw_count ⇒ Fixnum
Total "slow draw" events.
Corresponds to the JSON property slowDrawCount
      840 841 842  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 840 def slow_draw_count @slow_draw_count end  | 
  
#slow_ui_thread_count ⇒ Fixnum
Total "slow UI thread" events.
Corresponds to the JSON property slowUiThreadCount
      845 846 847  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 845 def slow_ui_thread_count @slow_ui_thread_count end  | 
  
#total_frames ⇒ Fixnum
Total frames rendered by package.
Corresponds to the JSON property totalFrames
      850 851 852  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 850 def total_frames @total_frames end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      857 858 859 860 861 862 863 864 865 866 867 868 869 870  | 
    
      # File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 857 def update!(**args) @buckets = args[:buckets] if args.key?(:buckets) @high_input_latency_count = args[:high_input_latency_count] if args.key?(:high_input_latency_count) @janky_frames = args[:janky_frames] if args.key?(:janky_frames) @missed_vsync_count = args[:missed_vsync_count] if args.key?(:missed_vsync_count) @p50_millis = args[:p50_millis] if args.key?(:p50_millis) @p90_millis = args[:p90_millis] if args.key?(:p90_millis) @p95_millis = args[:p95_millis] if args.key?(:p95_millis) @p99_millis = args[:p99_millis] if args.key?(:p99_millis) @slow_bitmap_upload_count = args[:slow_bitmap_upload_count] if args.key?(:slow_bitmap_upload_count) @slow_draw_count = args[:slow_draw_count] if args.key?(:slow_draw_count) @slow_ui_thread_count = args[:slow_ui_thread_count] if args.key?(:slow_ui_thread_count) @total_frames = args[:total_frames] if args.key?(:total_frames) end  |