Documentation ¶
Overview ¶
Package syscall provides functionalities that grpc uses to get low-level operating system stats/info.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CPUTimeDiff ¶
CPUTimeDiff returns the differences of user CPU time and system CPU time used between two Rusage structs.
func GetCPUTime ¶
func GetCPUTime() int64
GetCPUTime returns the how much CPU time has passed since the start of this process.
func GetTCPUserTimeout ¶ added in v1.35.0
GetTCPUserTimeout gets the TCP user timeout on a connection's socket
Types ¶
Click to show internal directories.
Click to hide internal directories.