(t *testing.T)
| 104 | } |
| 105 | |
| 106 | func TestNumMems(t *testing.T) { |
| 107 | if _, err := os.Stat("/proc/self/numa_maps"); !os.IsNotExist(err) { |
| 108 | t.Skip("NUMA must be supported") |
| 109 | } |
| 110 | cpuMems := NUMANodeCount() |
| 111 | if cpuMems < 0 { |
| 112 | t.Fatal("Invalid number of memory nodes, must be 0 or greater.") |
| 113 | } |
| 114 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…