View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefProcessorTiming (google_api_content_warehouse v0.3.0)

Processor timings as produced by NestedPerfCounter, see google3/repository/webref/base/nested-perf-counter.h.

Attributes

  • cpuInstructions (type: String.t, default: nil) - Cpu instructions spent.
  • name (type: String.t, default: nil) - A string identifying the processor timing context.
  • processorCounters (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefProcessorCounter.t), default: nil) - Document counters defined by processors. A processor can add and increment counters with NestedPerfCounter::IncrementCounterBy. See go/webref-annotator-metrics.
  • processorTimings (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefProcessorTiming.t), default: nil) - Nested measurements, see NestedPerfCounter::ScopedPerfCounter.
  • wallTimeNs (type: String.t, default: nil) - Wall time (in nanoseconds).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefProcessorTiming{
  cpuInstructions: String.t() | nil,
  name: String.t() | nil,
  processorCounters:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefProcessorCounter.t()]
    | nil,
  processorTimings: [t()] | nil,
  wallTimeNs: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.