Skip to content

workflow-tracing

workflow-tracing / com.squareup.workflow.diagnostic.tracing

Package com.squareup.workflow.diagnostic.tracing

Types

Name Summary
MemoryStats interface MemoryStats
Reports free/available memory.
RuntimeMemoryStats object RuntimeMemoryStats :MemoryStats
A MemoryStats that reports memory stats using this Runtime instance.
TracingDiagnosticListener class TracingDiagnosticListener : WorkflowDiagnosticListener
A WorkflowDiagnosticListener that generates a trace file that can be viewed in Chrome by visiting chrome://tracing.

Functions

Name Summary
TracingDiagnosticListener fun TracingDiagnosticListener(file:File, name:String= ""):TracingDiagnosticListener
fun TracingDiagnosticListener(name:String= "", memoryStats:MemoryStats= RuntimeMemoryStats, encoderProvider: (workflowScope: CoroutineScope) -> TraceEncoder):TracingDiagnosticListener
A WorkflowDiagnosticListener that generates a trace file that can be viewed in Chrome by visiting chrome://tracing.