recorder

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder struct {
	// contains filtered or unexported fields
}

func New

func New(filename string) (*Recorder, error)

func (*Recorder) Close

func (r *Recorder) Close() error

func (*Recorder) GetGPUStats

func (r *Recorder) GetGPUStats(jobID string) ([]jobperf.GPUStat, error)

func (*Recorder) GetJob

func (r *Recorder) GetJob(jobID string) (*jobperf.Job, error)

func (*Recorder) GetNodeStats

func (r *Recorder) GetNodeStats(jobID string) ([]jobperf.NodeStatsCPUMem, error)

func (*Recorder) RecordGPUStats

func (r *Recorder) RecordGPUStats(jobID string, stats []jobperf.GPUStat) error

func (*Recorder) RecordJob

func (r *Recorder) RecordJob(job *jobperf.Job) error

func (*Recorder) RecordNodeStat

func (r *Recorder) RecordNodeStat(jobID string, stat jobperf.NodeStatsCPUMem) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL