Package io.webfolder.cdp.command
Interface Tracing
-
public interface Tracing
-
-
Method Summary
Modifier and Type Method Description void
end()
Stop trace events collection.java.util.List<java.lang.String>
getCategories()
Gets supported tracing categories.void
recordClockSyncMarker(java.lang.String syncId)
Record a clock sync marker in the trace.RequestMemoryDumpResult
requestMemoryDump()
Request a global memory dump.void
start()
Start trace events collection.void
start(java.lang.String categories, java.lang.String options, java.lang.Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig)
Start trace events collection.
-
-
-
Method Detail
-
end
void end()
Stop trace events collection.
-
getCategories
java.util.List<java.lang.String> getCategories()
Gets supported tracing categories.- Returns:
- A list of supported tracing categories.
-
recordClockSyncMarker
void recordClockSyncMarker(java.lang.String syncId)
Record a clock sync marker in the trace.- Parameters:
syncId
- The ID of this clock sync marker
-
requestMemoryDump
RequestMemoryDumpResult requestMemoryDump()
Request a global memory dump.- Returns:
- RequestMemoryDumpResult
-
start
void start(java.lang.String categories, java.lang.String options, java.lang.Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig)
Start trace events collection.- Parameters:
categories
- Category/tag filteroptions
- Tracing optionsbufferUsageReportingInterval
- If set, the agent will issue bufferUsage events at this interval, specified in millisecondstransferMode
- Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults toReportEvents
).streamCompression
- Compression format to use. This only applies when usingReturnAsStream
transfer mode (defaults tonone
)
-
start
void start()
Start trace events collection.
-
-