package
1.7.0-dev-20191021
Repository: https://github.com/google/gapid.git
Documentation: pkg.go.dev

# Functions

Block marks the current task as blocked.
Do is a convenience function for calling block between Start() and Finish().
Event causes an event to be recorded.
Finish marks the task started with Start() as finished.
GetTask retrieves the task from a context previously annotated by PutTask.
MemorySnapshot returns the memory statistics sampled from the last call to SnapshotMemory().
PutTask attaches a task to a Context.
RegisterListener registers l for status updates.
RegisterLogger registers a status listener that logs the updates to the logger bound to the context.
RegisterTracer registers a status listener that writes all status updates in the Chrome Trace Event Format to the writer w.
ReplayQueued notifies listeners that a new replay has been queued.
SnapshotMemory takes a snapshot of the current process's memory.
Start returns a new context for a long running task.
StartBackground returns a new context for a long running background task.
Tasks returns the currently running tasks.
Block marks the current task as blocked.
UpdateProgress updates the progress of the task started with Start().

# Constants

GlobalScope is an event that applies globally.
ProcessScope is an event that only applies to this process.
TaskScope is an event that applies to the current task.

# Structs

Replay contains status information about a replay.
Task represents a long running job which should be reported as part of the application's status.

# Interfaces

Listener is the interface implemented by types that want to listen to application status messages.

# Type aliases

EventScope defines the scope for a particular event.
Unregister is the function returned by RegisterListener and is used to unregister the listenenr.