Source file src/simd/archsimd/_gen/simdgen/cputime_other.go

     1  // Copyright 2026 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !unix
     6  
     7  package main
     8  
     9  import "time"
    10  
    11  // cpuTime returns the user and system CPU time used by this process, if it's
    12  // available on this platform.
    13  func cpuTime() (time.Duration, bool) {
    14  	return 0, false
    15  }
    16  

View as plain text