github.com/primecitizens/pcz/std@v0.2.1/core/cpu/cpu_no_name.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2020 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  //go:build !386 && !amd64 && !ppc64 && !ppc64le
     9  
    10  package cpu
    11  
    12  // Name returns the CPU name given by the vendor
    13  // if it can be read directly from memory or by CPU instructions.
    14  // If the CPU name can not be determined an empty string is returned.
    15  //
    16  // Implementations that use the Operating System (e.g. sysctl or /sys/)
    17  // to gather CPU information for display should be placed in internal/sysinfo.
    18  func Name() string {
    19  	// "A CPU has no name".
    20  	return ""
    21  }