Copy as Markdown

Other Tools

// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_GleanGfxMetrics_h
#define mozilla_GleanGfxMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace performance_interaction {
/**
* generated from performance.interaction.keypress_present_latency
* Time between receiving a keypress event in the event loop and compositing its result onto the screen. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric keypress_present_latency(1012);
/**
* generated from performance.interaction.mouseup_click_present_latency
* Time between receiving a mouseup which follow by a mouseclick on the event loop and compositing its result onto the screen. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric mouseup_click_present_latency(1013);
}
namespace apz_zoom {
/**
* generated from apz_zoom.activity
*/
enum class ActivityLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* Whether non-RDM page had user-triggered zooming activity
* This metric was generated to correspond to the Legacy Telemetry boolean histogram APZ_ZOOM_ACTIVITY.
*/
constexpr impl::Labeled<impl::CounterMetric, ActivityLabel> activity(3865);
/**
* generated from apz_zoom.pinchsource
* Input device that triggered the zoom gesture (InputData::PinchGestureSource)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram APZ_ZOOM_PINCHSOURCE.
*/
constexpr impl::CustomDistributionMetric pinchsource(3866);
}
namespace fontlist {
/**
* generated from fontlist.bad_fallback_font
*/
enum class BadFallbackFontLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* system fallback font can't be used
* This metric was generated to correspond to the Legacy Telemetry boolean histogram BAD_FALLBACK_FONT.
*/
constexpr impl::Labeled<impl::CounterMetric, BadFallbackFontLabel> bad_fallback_font(3867);
/**
* generated from fontlist.bundledfonts_activate
* Time(ms) spent activating additional fonts bundled with the product
* This metric was generated to correspond to the Legacy Telemetry exponential histogram FONTLIST_BUNDLEDFONTS_ACTIVATE.
*/
constexpr impl::TimingDistributionMetric bundledfonts_activate(3868);
/**
* generated from fontlist.dwritefont_delayedinit_collect
* gfxDWriteFontList::DelayedInitFontList GetSystemFontCollection (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COLLECT.
*/
constexpr impl::TimingDistributionMetric dwritefont_delayedinit_collect(3869);
/**
* generated from fontlist.dwritefont_delayedinit_count
* gfxDWriteFontList::DelayedInitFontList Font Family Count
* This metric was generated to correspond to the Legacy Telemetry exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COUNT.
*/
constexpr impl::CustomDistributionMetric dwritefont_delayedinit_count(3870);
/**
* generated from fontlist.dwritefont_delayedinit_total
* gfxDWriteFontList::DelayedInitFontList Total (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_TOTAL.
*/
constexpr impl::TimingDistributionMetric dwritefont_delayedinit_total(3871);
/**
* generated from fontlist.dwritefont_init_problem
* DirectWrite system fontlist initialization problem (1=GDI interop, 2=system font collection, 3=no fonts)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram DWRITEFONT_INIT_PROBLEM.
*/
constexpr impl::CustomDistributionMetric dwritefont_init_problem(3872);
/**
* generated from fontlist.font_cache_hit
*/
enum class FontCacheHitLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* font cache hit
* This metric was generated to correspond to the Legacy Telemetry boolean histogram FONT_CACHE_HIT.
*/
constexpr impl::Labeled<impl::CounterMetric, FontCacheHitLabel> font_cache_hit(3873);
/**
* generated from fontlist.gdi_init_total
* gfxGDIFontList::InitFontList Total (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram GDI_INITFONTLIST_TOTAL.
*/
constexpr impl::TimingDistributionMetric gdi_init_total(3874);
/**
* generated from fontlist.initfacenamelists
* Time(ms) spent on reading family names from all fonts
* This metric was generated to correspond to the Legacy Telemetry exponential histogram FONTLIST_INITFACENAMELISTS.
*/
constexpr impl::TimingDistributionMetric initfacenamelists(3875);
/**
* generated from fontlist.initotherfamilynames
* Time(ms) spent on reading other family names from all fonts
* This metric was generated to correspond to the Legacy Telemetry exponential histogram FONTLIST_INITOTHERFAMILYNAMES.
*/
constexpr impl::TimingDistributionMetric initotherfamilynames(3876);
/**
* generated from fontlist.initotherfamilynames_no_deferring
* Time(ms) spent on reading other family names from all fonts for no timeout case
* This metric was generated to correspond to the Legacy Telemetry exponential histogram FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING.
*/
constexpr impl::TimingDistributionMetric initotherfamilynames_no_deferring(3877);
/**
* generated from fontlist.mac_init_total
* gfxMacPlatformFontList::InitFontList Total (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram MAC_INITFONTLIST_TOTAL.
*/
constexpr impl::TimingDistributionMetric mac_init_total(3878);
/**
* generated from fontlist.system_font_fallback
* System font fallback (us)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram SYSTEM_FONT_FALLBACK.
*/
constexpr impl::TimingDistributionMetric system_font_fallback(3879);
/**
* generated from fontlist.system_font_fallback_first
* System font fallback, first call (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram SYSTEM_FONT_FALLBACK_FIRST.
*/
constexpr impl::TimingDistributionMetric system_font_fallback_first(3880);
}
namespace gfx {
/**
* generated from gfx.composite_frame_roundtrip_time
* Time from vsync to finishing a composite in milliseconds.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram COMPOSITE_FRAME_ROUNDTRIP_TIME.
*/
constexpr impl::TimingDistributionMetric composite_frame_roundtrip_time(3881);
/**
* generated from gfx.composite_swap_time
* Time to do swap/present/commit in 100 microseconds
* This metric was generated to correspond to the Legacy Telemetry exponential histogram COMPOSITE_SWAP_TIME.
*/
constexpr impl::CustomDistributionMetric composite_swap_time(3882);
/**
* generated from gfx.composite_time
* The time taken to composite a frame. On non-webrender this is the time taken in `CompositorBridgeParent::CompositeToTarget()`. On webrender, this is the time taken from the start of `WebRenderBridgeParent::CompositeToTarget()`, until the render thread has rendered the frame (in `RenderThread::HandleFrameOneDoc()`). (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric composite_time(3883);
/**
* generated from gfx.content_failed_to_acquire_device
* Failed to create a gfx content device. 0=content d3d11, 1=image d3d11, 2=d2d1.
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram GFX_CONTENT_FAILED_TO_ACQUIRE_DEVICE.
*/
constexpr impl::CustomDistributionMetric content_failed_to_acquire_device(3884);
/**
* generated from gfx.crash
* Graphics Crash Reason (...)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram GFX_CRASH.
*/
constexpr impl::CustomDistributionMetric crash(3885);
/**
* generated from gfx.device_reset_reason
* GPU Device Reset Reason (ok, hung, removed, reset, internal error, invalid call, out of memory)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram DEVICE_RESET_REASON.
*/
constexpr impl::CustomDistributionMetric device_reset_reason(3886);
/**
* generated from gfx.forced_device_reset_reason
* GPU Forced Device Reset Reason (OpenSharedHandle)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram FORCED_DEVICE_RESET_REASON.
*/
constexpr impl::CustomDistributionMetric forced_device_reset_reason(3887);
/**
* generated from gfx.graphics_driver_startup_test
* Reports whether or not graphics drivers crashed during startup.
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram GRAPHICS_DRIVER_STARTUP_TEST.
*/
constexpr impl::CustomDistributionMetric graphics_driver_startup_test(3888);
/**
* generated from gfx.linux_window_protocol
* Windowing protocol on Linux. Can be Wayland, WaylandDRM, XWayland, or X11 This metric was generated to correspond to the Legacy Telemetry scalar gfx.linux_window_protocol.
*/
constexpr impl::StringMetric linux_window_protocol(3889);
/**
* generated from gfx.macos_video_low_power
*/
enum class MacosVideoLowPowerLabel: uint16_t {
eNotvideo = 0,
eLowpower = 1,
eFailmultiplevideo = 2,
eFailwindowed = 3,
eFailoverlaid = 4,
eFailbacking = 5,
eFailmacosversion = 6,
eFailpref = 7,
eFailsurface = 8,
eFailenqueue = 9,
e__Other__,
};
/**
* MacOS video low power state achieved when enqueueing a video frame.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram GFX_MACOS_VIDEO_LOW_POWER.
*/
constexpr impl::Labeled<impl::CounterMetric, MacosVideoLowPowerLabel> macos_video_low_power(3890);
/**
* generated from gfx.os_compositor
* Boolean indicating whether the os compositor is being used by WebRender. Only collected in the first subsession. This metric was generated to correspond to the Legacy Telemetry scalar gfx.os_compositor.
*/
constexpr impl::BooleanMetric os_compositor(3891);
/**
* generated from gfx.sanity_test
* Reports results from the graphics sanity test to track which drivers are having problems (0=TEST_PASSED, 1=TEST_FAILED_RENDER, 2=TEST_FAILED_VIDEO, 3=TEST_CRASHED)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram GRAPHICS_SANITY_TEST.
*/
constexpr impl::CustomDistributionMetric sanity_test(3892);
/**
* generated from gfx.scroll_present_latency
* Time between receiving a scroll event on the event loop and compositing its result onto the screen (ms). (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric scroll_present_latency(3893);
/**
* generated from gfx.skipped_composites
* Number of skipped composites, happening when rendering is too slow to keep up with content. This metric was generated to correspond to the Legacy Telemetry scalar gfx.skipped_composites.
*/
constexpr impl::CounterMetric skipped_composites(3894);
/**
* generated from gfx.supports_hdr
* Does the hardware support accurate display of HDR content This metric was generated to correspond to the Legacy Telemetry scalar gfx.supports_hdr.
*/
constexpr impl::BooleanMetric supports_hdr(3895);
}
namespace gfx_adapter_primary {
/**
* generated from gfx.adapter.primary.description
* Long form description of the Graphics adapter (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric description(3904);
/**
* generated from gfx.adapter.primary.device_id
* Graphics adapter device identification (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric device_id(3905);
/**
* generated from gfx.adapter.primary.driver_date
* Graphics adapter driver date (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric driver_date(3906);
/**
* generated from gfx.adapter.primary.driver_files
* List of graphics adapter driver files (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric driver_files(3907);
/**
* generated from gfx.adapter.primary.driver_vendor
* Graphics adapter driver vendor identification (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric driver_vendor(3908);
/**
* generated from gfx.adapter.primary.driver_version
* Graphics adapter driver version (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric driver_version(3909);
/**
* generated from gfx.adapter.primary.ram
* Graphics adapter dedicated memory (Migrated from the geckoview metric of the same name).
*/
constexpr impl::QuantityMetric ram(3910);
/**
* generated from gfx.adapter.primary.subsystem_id
* Graphics adapter subsystem identification (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric subsystem_id(3911);
/**
* generated from gfx.adapter.primary.vendor_id
* Graphics adapter vendor identification (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric vendor_id(3912);
}
namespace gfx_checkerboard {
/**
* generated from gfx.checkerboard.duration
* The duration of a checkerboard event. Checkerboarding is when painting has not kept up with asynchronous panning and zooming so the compositor has to display a "checkerboard pattern" (or in practice, the background color) rather than the actual page content. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric duration(3913);
/**
* generated from gfx.checkerboard.peak_pixel_count
* The peak number of CSS pixels that checkerboarded during a checkerboard event. The minimum value of the largest histogram bucket is the size of a 4k display with maximum APZ zooming. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric peak_pixel_count(3914);
/**
* generated from gfx.checkerboard.potential_duration
* The total amount of time that we could reasonably be checkerboarding. This is the union of two possibly-intersecting sets of time periods: The first set is that in which checkerboarding was actually happening, since by definition it could potentially be happening. The second set is that in which the APZC is actively transforming content in the compositor, since it could potentially transform it so as to display checkerboarding to the user. Combined with other information, this allows us to meaningfully say how frequently users actually enncounters checkerboarding. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric potential_duration(3915);
/**
* generated from gfx.checkerboard.severity
* An opaque measurement of the severity of a checkerboard event. This doesn't have units, it's just useful for comparing two checkerboard events to see which one is worse, for some implementation-specific definition of "worse". The larger the value, the worse the checkerboarding. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric severity(3916);
}
namespace gfx_content {
/**
* generated from gfx.content.full_paint_time
* Time spent in the full paint pipeline for content until it's ready for composition. For non-webrender this includes `paint_time`, plus rasterization if OMTP is enabled. For webrender, this includes `paint_time`, plus scene building time. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric full_paint_time(3917);
/**
* generated from gfx.content.large_paint_phase_weight_full
*/
enum class LargePaintPhaseWeightFullLabel: uint16_t {
eDl = 0,
eWrdl = 1,
eSb = 2,
eFb = 3,
e__Other__,
};
/**
* Percentages of times for phases in an expensive content paint relative to the time spent in the entire expensive paint. ("dl" = Display list, "wrdl" = WebRender display list, "sb" = Scene building, "fb" = Frame building)
* This metric was generated to correspond to the Legacy Telemetry linear histogram CONTENT_LARGE_PAINT_PHASE_WEIGHT_FULL.
*/
constexpr impl::Labeled<impl::CustomDistributionMetric, LargePaintPhaseWeightFullLabel> large_paint_phase_weight_full(3918);
/**
* generated from gfx.content.large_paint_phase_weight_partial
*/
enum class LargePaintPhaseWeightPartialLabel: uint16_t {
eDl = 0,
eWrdl = 1,
eSb = 2,
eFb = 3,
e__Other__,
};
/**
* Percentages of times for phases in an expensive content paint relative to the time spent in the entire expensive paint. ("dl" = Display list, "wrdl" = WebRender display list, "sb" = Scene building, "fb" = Frame building)
* This metric was generated to correspond to the Legacy Telemetry linear histogram CONTENT_LARGE_PAINT_PHASE_WEIGHT_PARTIAL.
*/
constexpr impl::Labeled<impl::CustomDistributionMetric, LargePaintPhaseWeightPartialLabel> large_paint_phase_weight_partial(3919);
/**
* generated from gfx.content.paint_time
* Time spent in the main-thread paint pipeline for content. For non-webrender, this includes display list building, layer building, and when OMTP is disabled, rasterization. For webrender, this includes display list building, and webrender display list building. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::TimingDistributionMetric paint_time(3920);
/**
* generated from gfx.content.small_paint_phase_weight_full
*/
enum class SmallPaintPhaseWeightFullLabel: uint16_t {
eDl = 0,
eWrdl = 1,
eSb = 2,
eFb = 3,
e__Other__,
};
/**
* Percentages of times for phases in a normal content paint relative to the time spent in the entire normal paint. ("dl" = Display list, "wrdl" = WebRender display list, "sb" = Scene building, "fb" = Frame building)
* This metric was generated to correspond to the Legacy Telemetry linear histogram CONTENT_SMALL_PAINT_PHASE_WEIGHT_FULL.
*/
constexpr impl::Labeled<impl::CustomDistributionMetric, SmallPaintPhaseWeightFullLabel> small_paint_phase_weight_full(3921);
/**
* generated from gfx.content.small_paint_phase_weight_partial
*/
enum class SmallPaintPhaseWeightPartialLabel: uint16_t {
eDl = 0,
eWrdl = 1,
eSb = 2,
eFb = 3,
e__Other__,
};
/**
* Percentages of times for phases in a normal content paint relative to the time spent in the entire normal paint. ("dl" = Display list, "wrdl" = WebRender display list, "sb" = Scene building, "fb" = Frame building)
* This metric was generated to correspond to the Legacy Telemetry linear histogram CONTENT_SMALL_PAINT_PHASE_WEIGHT_PARTIAL.
*/
constexpr impl::Labeled<impl::CustomDistributionMetric, SmallPaintPhaseWeightPartialLabel> small_paint_phase_weight_partial(3922);
}
namespace gfx_content_frame_time {
/**
* generated from gfx.content.frame_time.from_paint
* The time, in percentage of a vsync interval, spent from beginning a paint in the content process until that frame is presented in the compositor. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric from_paint(3923);
/**
* generated from gfx.content.frame_time.from_vsync
* The time, in percentage of a vsync interval, spent from the vsync that started a paint in the content process until that frame is presented in the compositor. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric from_vsync(3924);
/**
* generated from gfx.content.frame_time.reason
*/
enum class ReasonLabel: uint16_t {
eOnTime = 0,
eNoVsync = 1,
eMissedComposite = 2,
eSlowComposite = 3,
eMissedCompositeMid = 4,
eMissedCompositeLong = 5,
eMissedCompositeLow = 6,
eNoVsyncNoId = 7,
e__Other__,
};
/**
* The reason that `gfx.content.frame_time.from_paint` recorded a slow (>200ms) result, if any. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::Labeled<impl::CounterMetric, ReasonLabel> reason(3925);
/**
* generated from gfx.content.frame_time.with_svg
* The time, in percentage of a vsync interval, spent from beginning a paint in the content process until that frame is presented in the compositor, for frames that contained an SVG to be drawn by webrender. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric with_svg(3926);
/**
* generated from gfx.content.frame_time.without_resource_upload
* The time, in percentage of a vsync interval, spent from beginning a paint in the content process until that frame is presented in the compositor by webrender, excluding time spent uploading resources. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric without_resource_upload(3927);
/**
* generated from gfx.content.frame_time.without_upload
* The time, in percentage of a vsync interval, spent from beginning a paint in the content process until that frame is presented in the compositor by webrender, excluding time spent uploading any content. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::CustomDistributionMetric without_upload(3928);
}
namespace gfx_display {
/**
* generated from gfx.display.count
* Amount of displays connected to the device (Migrated from the geckoview metric of the same name).
*/
constexpr impl::QuantityMetric count(3929);
/**
* generated from gfx.display.primary_height
* Height of the primary display, takes device rotation into account. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::QuantityMetric primary_height(3930);
/**
* generated from gfx.display.primary_width
* Width of the primary display, takes device rotation into account. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::QuantityMetric primary_width(3931);
/**
* generated from gfx.display.scaling
* Scaling percentage for the display where the first window is opened
* This metric was generated to correspond to the Legacy Telemetry linear histogram DISPLAY_SCALING.
*/
constexpr impl::CustomDistributionMetric scaling(3932);
}
namespace gfx_feature {
/**
* generated from gfx.feature.webrender
* Whether webrender is enabled or disabled, and why. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric webrender(3933);
}
namespace gfx_hdr {
/**
* generated from gfx.hdr.windows_display_colorspace_bitfield
* A bitfield representation of the available DXGI color spaces of the connected displays on Windows. See (https://docs.microsoft.com/en- us/windows/desktop/api/dxgicommon/ne-dxgicommon- dxgi_color_space_type) for definitions of color spaces. Each N'th bit of this scalar indicates whether the DXGI color space with index 'N' is available on at least one connected monitor. This metric was generated to correspond to the Legacy Telemetry scalar gfx.hdr.windows_display_colorspace_bitfield.
*/
constexpr impl::QuantityMetric windows_display_colorspace_bitfield(3934);
}
namespace gfx_status {
/**
* generated from gfx.status.compositor
* Name of the graphics compositor in use. Possible values are "opengl, d3d11, client, webrender or basic" (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric compositor(3935);
/**
* generated from gfx.status.headless
* Boolean indicated whether graphics is running in headless (no display) mode (Migrated from the geckoview metric of the same name).
*/
constexpr impl::BooleanMetric headless(3936);
/**
* generated from gfx.status.last_compositor_gecko_version
* The gecko version at the last time a compositor was initialized, and therefore when gfx_status_compositor was last updated. Due to gfx_status_compositor's user lifetime we see lots of unexpected values for the current gecko version. We believe this is because the user has not opened a tab since they were updated to a version where webrender should be enabled on their device. This can be used to verify that theory. (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric last_compositor_gecko_version(3937);
}
namespace gpu_process {
/**
* generated from gpu_process.crash_fallbacks
*/
enum class CrashFallbacksLabel: uint16_t {
eNone = 0,
eDecodingDisabled = 1,
eDisabled = 2,
e__Other__,
};
/**
* How often we use different fallbacks when the GPU process crashes
*/
constexpr impl::Labeled<impl::CounterMetric, CrashFallbacksLabel> crash_fallbacks(3938);
/**
* generated from gpu_process.feature_status
* Current status of the GPU process feature
*/
constexpr impl::StringMetric feature_status(3939);
/**
* generated from gpu_process.initialization_time
* GPU process initialization (excluding XPCOM and fork time) time in milliseconds
* This metric was generated to correspond to the Legacy Telemetry exponential histogram GPU_PROCESS_INITIALIZATION_TIME_MS.
*/
constexpr impl::TimingDistributionMetric initialization_time(3940);
/**
* generated from gpu_process.launch_time
* GPU process launch time in milliseconds
* This metric was generated to correspond to the Legacy Telemetry exponential histogram GPU_PROCESS_LAUNCH_TIME_MS_2.
*/
constexpr impl::TimingDistributionMetric launch_time(3941);
/**
* generated from gpu_process.total_launch_attempts
* The number of total GPU process launch attempts.
*/
constexpr impl::QuantityMetric total_launch_attempts(3942);
/**
* generated from gpu_process.unstable_launch_attempts
* The number of consecutive unstable launch attempts.
*/
constexpr impl::QuantityMetric unstable_launch_attempts(3943);
}
namespace paint {
/**
* generated from paint.build_displaylist_time
* The time to build a Gecko display list.
*/
constexpr impl::TimingDistributionMetric build_displaylist_time(3944);
}
namespace webfont {
/**
* generated from webfont.compression_woff
* Compression ratio of WOFF data (%)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram WEBFONT_COMPRESSION_WOFF.
*/
constexpr impl::CustomDistributionMetric compression_woff(3945);
/**
* generated from webfont.compression_woff2
* Compression ratio of WOFF2 data (%)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram WEBFONT_COMPRESSION_WOFF2.
*/
constexpr impl::CustomDistributionMetric compression_woff2(3946);
/**
* generated from webfont.download_time
* Time to download a webfont (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram WEBFONT_DOWNLOAD_TIME.
*/
constexpr impl::TimingDistributionMetric download_time(3947);
/**
* generated from webfont.fonttype
* Font format type (woff/woff2/ttf/...)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram WEBFONT_FONTTYPE.
*/
constexpr impl::CustomDistributionMetric fonttype(3948);
/**
* generated from webfont.per_page
* Number of fonts loaded at page load
* This metric was generated to correspond to the Legacy Telemetry count histogram WEBFONT_PER_PAGE.
*/
constexpr impl::CounterMetric per_page(3949);
/**
* generated from webfont.size
* Size of font loaded (kb)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram WEBFONT_SIZE.
*/
constexpr impl::MemoryDistributionMetric size(3950);
/**
* generated from webfont.size_per_page
* Size of all fonts loaded at page load (kb)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram WEBFONT_SIZE_PER_PAGE.
*/
constexpr impl::MemoryDistributionMetric size_per_page(3951);
/**
* generated from webfont.srctype
* Font src type loaded (1 = local, 2 = url, 3 = data)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram WEBFONT_SRCTYPE.
*/
constexpr impl::CustomDistributionMetric srctype(3952);
}
namespace wr {
/**
* generated from wr.framebuild_time
* The time to rasterize glyphs for consumption by WebRender.
*/
constexpr impl::TimingDistributionMetric framebuild_time(3953);
/**
* generated from wr.gpu_wait_time
* The time spent waiting for the GPU to complete previously issued drawing commands.
*/
constexpr impl::TimingDistributionMetric gpu_wait_time(3954);
/**
* generated from wr.rasterize_blobs_time
* The time to rasterize blobs for consumption by WebRender.
*/
constexpr impl::TimingDistributionMetric rasterize_blobs_time(3955);
/**
* generated from wr.rasterize_glyphs_time
* The time to rasterize glyphs for consumption by WebRender.
*/
constexpr impl::TimingDistributionMetric rasterize_glyphs_time(3956);
/**
* generated from wr.renderer_time
* WebRender renderer time.
*/
constexpr impl::TimingDistributionMetric renderer_time(3957);
/**
* generated from wr.renderer_time_no_sc
* WebRender renderer time excluding frames in which shader compilation took place.
*/
constexpr impl::TimingDistributionMetric renderer_time_no_sc(3958);
/**
* generated from wr.scenebuild_time
* WebRender scene build time.
*/
constexpr impl::TimingDistributionMetric scenebuild_time(3959);
/**
* generated from wr.sceneswap_time
* WebRender scene swap time.
*/
constexpr impl::TimingDistributionMetric sceneswap_time(3960);
/**
* generated from wr.shaderload_time
* Time spent blocking on the shader compilation for LazilyCompiled shaders created with ASYNC_COMPILE or FULL_COMPILE.
*/
constexpr impl::TimingDistributionMetric shaderload_time(3961);
/**
* generated from wr.texture_cache_update_time
* Time taken by WebRender to update the texture cache.
*/
constexpr impl::TimingDistributionMetric texture_cache_update_time(3962);
/**
* generated from wr.time_to_frame_build
* Time elapsed between the construction of a transaction and the associated frame build beginning.
*/
constexpr impl::TimingDistributionMetric time_to_frame_build(3963);
/**
* generated from wr.time_to_render_start
* Time elapsed between the construction of a frame and the start of rendering.
*/
constexpr impl::TimingDistributionMetric time_to_render_start(3964);
}
} // namespace mozilla::glean
#endif // mozilla_GleanGfxMetrics_h