MCPcopy
hub / github.com/rclone/rclone / rcSetBlockProfileRate

Function rcSetBlockProfileRate

fs/rc/internal.go:390–397  ·  view source on GitHub ↗
(ctx context.Context, in Params)

Source from the content-addressed store, hash-verified

388}
389
390func rcSetBlockProfileRate(ctx context.Context, in Params) (out Params, err error) {
391 rate, err := in.GetInt64("rate")
392 if err != nil {
393 return nil, err
394 }
395 runtime.SetBlockProfileRate(int(rate))
396 return nil, nil
397}
398
399func init() {
400 Add(Call{

Callers

nothing calls this directly

Calls 1

GetInt64Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…