1// Copyright (c) 2020 Klaus Post, released under MIT License. See LICENSE file.
2
3// +build arm64
4// +build !linux
5// +build !darwin
6
7package cpuid
8
9import "runtime"
10
11func detectOS(c *CPUInfo) bool {
12	c.PhysicalCores = runtime.NumCPU()
13	// For now assuming 1 thread per core...
14	c.ThreadsPerCore = 1
15	c.LogicalCores = c.PhysicalCores
16	return false
17}
18