package syscall
Import Path
google.golang.org/grpc/internal/syscall (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
Package syscall provides functionalities that grpc uses to get low-level operating system
stats/info.
Package-Level Type Names (only one)
Rusage is an alias for syscall.Rusage under linux environment.
Package-Level Functions (total 5)
CPUTimeDiff returns the differences of user CPU time and system CPU time used
between two Rusage structs.
GetCPUTime returns the how much CPU time has passed since the start of this process.
GetRusage returns the resource usage of current process.
GetTCPUserTimeout gets the TCP user timeout on a connection's socket
SetTCPUserTimeout sets the TCP user timeout on a connection's socket
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |