Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ Duration
Method
Duration
pkg/utils/timesize/timesize.go:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
type
Duration time.Duration
17
18
func
(d Duration) Duration() time.Duration {
19
return
time.Duration(d)
20
}
21
22
func
(d Duration) Int64() int64 {
23
return
int64(d)
Callers
15
MarshalText
Method · 0.95
CPUTotal
Method · 0.80
GetUsage
Function · 0.80
GetUsage
Function · 0.80
Parse
Function · 0.80
TestTimeSize
Function · 0.80
setup
Method · 0.80
serveProxy
Method · 0.80
Forward
Method · 0.80
startMetricsJson
Method · 0.80
startMetricsInfluxdb
Method · 0.80
startMetricsStatsd
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestTimeSize
Function · 0.64