Skip to content
callcount

k8s.io/utils/cpuset.CPUSet.Size

third-party

The 7280th most-called third-party method by production calls. Called 166 times across 3 modules; 81 of those run outside tests and generated code.

All of k8s.io/utils/cpuset → Docs on pkg.go.dev ↗

prod calls
81
non-test, non-generated
all calls
166
total callsites
modules
3
distinct callers
in loop
14%
of prod calls
in tests
51%
85 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Concrete method100%A method on a value whose type is known exactly.

who calls this

Notable callers

Production calls into CPUSet.Size from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 166, prioritizing in-loop and non-test usage. We link to source, never display it.

CPUSet.Size · 12 of 166 callsites
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:536

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:547

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:558

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:632

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/policy_static.go:914

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/policy_static.go:915

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:941

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:949

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:961

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:973

    in loop
  • k8s.io/kubernetes @v1.36.3

    pkg/kubelet/cm/cpumanager/cpu_assignment.go:1095

    in loop
  • k8s.io/utils @v0.0.0-20260707023825-cf1189d6abe3

    cpuset/cpuset_test.go:36

    in loop test

top callers

The modules that reach for it

The modules that call CPUSet.Size most in this snapshot.

  • k8s.io/kubernetes9658%
  • github.com/kubernetes/kubernetes6740%
  • k8s.io/utils32%

siblings

More from k8s.io/utils/cpuset

The other most-called members in this package. See all →