| 12345678910111213141516171819202122232425262728293031323334353637 |
- package tracing
- // Code generated by cdproto-gen. DO NOT EDIT.
- import (
- "github.com/chromedp/cdproto/io"
- "github.com/go-json-experiment/json/jsontext"
- )
- // EventBufferUsage [no description].
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/Tracing#event-bufferUsage
- type EventBufferUsage struct {
- PercentFull float64 `json:"percentFull,omitempty,omitzero"` // A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.
- EventCount float64 `json:"eventCount,omitempty,omitzero"` // An approximate number of events in the trace log.
- Value float64 `json:"value,omitempty,omitzero"` // A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.
- }
- // EventDataCollected contains a bucket of collected trace events. When
- // tracing is stopped collected events will be sent as a sequence of
- // dataCollected events followed by tracingComplete event.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/Tracing#event-dataCollected
- type EventDataCollected struct {
- Value []jsontext.Value `json:"value"`
- }
- // EventTracingComplete signals that tracing is stopped and there is no trace
- // buffers pending flush, all data were delivered via dataCollected events.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/Tracing#event-tracingComplete
- type EventTracingComplete struct {
- DataLossOccurred bool `json:"dataLossOccurred"` // Indicates whether some trace data is known to have been lost, e.g. because the trace ring buffer wrapped around.
- Stream io.StreamHandle `json:"stream,omitempty,omitzero"` // A handle of the stream that holds resulting trace data.
- TraceFormat StreamFormat `json:"traceFormat,omitempty,omitzero"` // Trace data format of returned stream.
- StreamCompression StreamCompression `json:"streamCompression,omitempty,omitzero"` // Compression format of returned stream.
- }
|