Documentation ¶
Overview ¶
package rbetrace contains utilities for working with RBE traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromRPLFile ¶
func FromRPLFile(ctx context.Context, rpl2TraceBin, rplPath, tmpDir string) ([]chrometrace.Trace, error)
FromRPLFile converts reproxy's RPL file containing reproxy's performance metrics to Chrome trace format.
This function relies on reclient's rpl2trace binary for parsing RPL files, because currently there are no easy ways to depend on the proto schema reclient uses to write RPL files (RPL files are textprotos).
func Interleave ¶
func Interleave(mainTraces []chrometrace.Trace, rbeTraces []chrometrace.Trace) ([]chrometrace.Trace, error)
Interleave interleaves the input rbeTraces into mainTraces. Traces are joined on outputs, and timestamps are aligned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.