health

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsClient

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

StatsClient wraps the gRPC StatsService client.

func NewStatsClient

func NewStatsClient(cc grpc.ClientConnInterface) *StatsClient

NewStatsClient creates a new Stats client.

func (*StatsClient) GetDataType

func (c *StatsClient) GetDataType(ctx context.Context) (string, error)

GetDataType calls the GetDataType RPC.

func (*StatsClient) GetMeasurement

func (c *StatsClient) GetMeasurement(ctx context.Context, arg0 int32) (int64, error)

GetMeasurement calls the GetMeasurement RPC.

func (*StatsClient) GetMeasurementKeyAt

func (c *StatsClient) GetMeasurementKeyAt(ctx context.Context, arg0 int32) (int32, error)

GetMeasurementKeyAt calls the GetMeasurementKeyAt RPC.

func (*StatsClient) GetMeasurementKeyCount

func (c *StatsClient) GetMeasurementKeyCount(ctx context.Context) (int32, error)

GetMeasurementKeyCount calls the GetMeasurementKeyCount RPC.

func (*StatsClient) GetMeasurementsKeyAt

func (c *StatsClient) GetMeasurementsKeyAt(ctx context.Context, arg0 int32) (int32, error)

GetMeasurementsKeyAt calls the GetMeasurementsKeyAt RPC.

func (*StatsClient) GetMeasurementsKeyCount

func (c *StatsClient) GetMeasurementsKeyCount(ctx context.Context) (int32, error)

GetMeasurementsKeyCount calls the GetMeasurementsKeyCount RPC.

func (*StatsClient) GetStatsKeyAt

func (c *StatsClient) GetStatsKeyAt(ctx context.Context, arg0 int32) (int32, error)

GetStatsKeyAt calls the GetStatsKeyAt RPC.

func (*StatsClient) GetStatsKeyCount

func (c *StatsClient) GetStatsKeyCount(ctx context.Context) (int32, error)

GetStatsKeyCount calls the GetStatsKeyCount RPC.

func (*StatsClient) GetTimer

func (c *StatsClient) GetTimer(ctx context.Context, arg0 int32) (int64, error)

GetTimer calls the GetTimer RPC.

func (*StatsClient) GetTimerCount

func (c *StatsClient) GetTimerCount(ctx context.Context, arg0 int32) (int32, error)

GetTimerCount calls the GetTimerCount RPC.

func (*StatsClient) GetTimerKeyAt

func (c *StatsClient) GetTimerKeyAt(ctx context.Context, arg0 int32) (int32, error)

GetTimerKeyAt calls the GetTimerKeyAt RPC.

func (*StatsClient) GetTimerKeyCount

func (c *StatsClient) GetTimerKeyCount(ctx context.Context) (int32, error)

GetTimerKeyCount calls the GetTimerKeyCount RPC.

func (*StatsClient) GetTimerTime

func (c *StatsClient) GetTimerTime(ctx context.Context, arg0 int32) (int64, error)

GetTimerTime calls the GetTimerTime RPC.

func (*StatsClient) GetTimersKeyAt

func (c *StatsClient) GetTimersKeyAt(ctx context.Context, arg0 int32) (int32, error)

GetTimersKeyAt calls the GetTimersKeyAt RPC.

func (*StatsClient) GetTimersKeyCount

func (c *StatsClient) GetTimersKeyCount(ctx context.Context) (int32, error)

GetTimersKeyCount calls the GetTimersKeyCount RPC.

func (*StatsClient) HasMeasurement

func (c *StatsClient) HasMeasurement(ctx context.Context, arg0 int32) (bool, error)

HasMeasurement calls the HasMeasurement RPC.

func (*StatsClient) HasMeasurements

func (c *StatsClient) HasMeasurements(ctx context.Context, arg0 int32) (bool, error)

HasMeasurements calls the HasMeasurements RPC.

func (*StatsClient) HasStats

func (c *StatsClient) HasStats(ctx context.Context, arg0 int32) (bool, error)

HasStats calls the HasStats RPC.

func (*StatsClient) HasTimer

func (c *StatsClient) HasTimer(ctx context.Context, arg0 int32) (bool, error)

HasTimer calls the HasTimer RPC.

func (*StatsClient) HasTimers

func (c *StatsClient) HasTimers(ctx context.Context, arg0 int32) (bool, error)

HasTimers calls the HasTimers RPC.

type SystemHealthManagerClient

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

SystemHealthManagerClient wraps the gRPC SystemHealthManagerService client.

func NewSystemHealthManagerClient

func NewSystemHealthManagerClient(cc grpc.ClientConnInterface) *SystemHealthManagerClient

NewSystemHealthManagerClient creates a new SystemHealthManager client.

func (*SystemHealthManagerClient) GetCpuHeadroom

func (c *SystemHealthManagerClient) GetCpuHeadroom(ctx context.Context, arg0 int64) (float32, error)

GetCpuHeadroom calls the GetCpuHeadroom RPC.

func (*SystemHealthManagerClient) GetCpuHeadroomMinIntervalMillis

func (c *SystemHealthManagerClient) GetCpuHeadroomMinIntervalMillis(ctx context.Context) (int64, error)

GetCpuHeadroomMinIntervalMillis calls the GetCpuHeadroomMinIntervalMillis RPC.

func (*SystemHealthManagerClient) GetGpuHeadroom

func (c *SystemHealthManagerClient) GetGpuHeadroom(ctx context.Context, arg0 int64) (float32, error)

GetGpuHeadroom calls the GetGpuHeadroom RPC.

func (*SystemHealthManagerClient) GetGpuHeadroomMinIntervalMillis

func (c *SystemHealthManagerClient) GetGpuHeadroomMinIntervalMillis(ctx context.Context) (int64, error)

GetGpuHeadroomMinIntervalMillis calls the GetGpuHeadroomMinIntervalMillis RPC.

func (*SystemHealthManagerClient) GetMaxCpuHeadroomTidsSize

func (c *SystemHealthManagerClient) GetMaxCpuHeadroomTidsSize(ctx context.Context) (int32, error)

GetMaxCpuHeadroomTidsSize calls the GetMaxCpuHeadroomTidsSize RPC.

func (*SystemHealthManagerClient) TakeMyUidSnapshot

func (c *SystemHealthManagerClient) TakeMyUidSnapshot(ctx context.Context) (int64, error)

TakeMyUidSnapshot calls the TakeMyUidSnapshot RPC.

func (*SystemHealthManagerClient) TakeUidSnapshot

func (c *SystemHealthManagerClient) TakeUidSnapshot(ctx context.Context, arg0 int32) (int64, error)

TakeUidSnapshot calls the TakeUidSnapshot RPC.

func (*SystemHealthManagerClient) TakeUidSnapshots

func (c *SystemHealthManagerClient) TakeUidSnapshots(ctx context.Context, arg0 int64) (int64, error)

TakeUidSnapshots calls the TakeUidSnapshots RPC.

type TimerStatClient

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

TimerStatClient wraps the gRPC TimerStatService client.

func NewTimerStatClient

func NewTimerStatClient(cc grpc.ClientConnInterface) *TimerStatClient

NewTimerStatClient creates a new TimerStat client.

func (*TimerStatClient) DescribeContents

func (c *TimerStatClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*TimerStatClient) GetCount

func (c *TimerStatClient) GetCount(ctx context.Context, handle int64) (int32, error)

GetCount calls the GetCount RPC.

func (*TimerStatClient) GetTime

func (c *TimerStatClient) GetTime(ctx context.Context, handle int64) (int64, error)

GetTime calls the GetTime RPC.

func (*TimerStatClient) SetCount

func (c *TimerStatClient) SetCount(ctx context.Context, handle int64, arg0 int32) error

SetCount calls the SetCount RPC.

func (*TimerStatClient) SetTime

func (c *TimerStatClient) SetTime(ctx context.Context, handle int64, arg0 int64) error

SetTime calls the SetTime RPC.

func (*TimerStatClient) WriteToParcel

func (c *TimerStatClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

Jump to

Keyboard shortcuts

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