Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cpu20 (0.34 sec)

  1. src/cmd/trace/jsontrace_test.go

    }
    
    func checkExecutionTimes(t *testing.T, data format.Data) {
    	cpu10 := sumExecutionTime(filterViewerTrace(data, filterGoRoutineName("main.cpu10")))
    	cpu20 := sumExecutionTime(filterViewerTrace(data, filterGoRoutineName("main.cpu20")))
    	if cpu10 <= 0 || cpu20 <= 0 || cpu10 >= cpu20 {
    		t.Errorf("bad execution times: cpu10=%v, cpu20=%v", cpu10, cpu20)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/trace/testdata/testprog/main.go

    	"syscall"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatal(err)
    	}
    
    	// checkExecutionTimes relies on this.
    	var wg sync.WaitGroup
    	wg.Add(2)
    	go cpu10(&wg)
    	go cpu20(&wg)
    	wg.Wait()
    
    	// checkHeapMetrics relies on this.
    	allocHog(25 * time.Millisecond)
    
    	// checkProcStartStop relies on this.
    	var wg2 sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

          mlir::ModuleOp::create(mlir::UnknownLoc::get(&context));
    
      const std::string cpu0 = "/job:worker/replica:0/task:0/device:CPU:0";
      const std::string gpu0 = "/job:worker/replica:1/task:2/device:GPU:0";
      const std::string gpu1 = "/job:worker/replica:1/task:2/device:GPU:1";
    
      llvm::SmallVector<std::unique_ptr<Device>, 2> devices;
      devices.push_back(FakeDevice::Make(cpu0));
      devices.push_back(FakeDevice::Make(gpu0, "compute capability: 7.0"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/internal/sysinfo/cpuinfo_linux.go

    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    
    	return nil
    }
    
    func osCPUInfoName() string {
    	modelName := ""
    	cpuMHz := ""
    
    	// The 512-byte buffer is enough to hold the contents of CPU0
    	buf := make([]byte, 512)
    	err := readLinuxProcCPUInfo(buf)
    	if err != nil {
    		return ""
    	}
    
    	scanner := bufio.NewScanner(bytes.NewReader(buf))
    	for scanner.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/trace/testdata/go122.test

    String id=147
    	data="sync.(*WaitGroup).Add"
    String id=148
    	data="/usr/local/google/home/mknyszek/work/go-1/src/sync/waitgroup.go"
    String id=149
    	data="sync.(*WaitGroup).Done"
    String id=150
    	data="main.cpu20"
    String id=151
    	data="syscall.openat"
    String id=152
    	data="syscall.Open"
    String id=153
    	data="/usr/local/google/home/mknyszek/work/go-1/src/syscall/syscall_linux.go"
    String id=154
    	data="os.open"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go

    		uintptr(unsafe.Pointer(&n)),
    		uintptr(0),
    		uintptr(0))
    	if errno != 0 {
    		return nil, errno
    	}
    	return &out, nil
    }
    
    func doinit() {
    	cpuid, err := sysctlCPUID("machdep.cpu0.cpu_id")
    	if err != nil {
    		setMinimalFeatures()
    		return
    	}
    	parseARM64SystemRegisters(cpuid.aa64isar0, cpuid.aa64isar1, cpuid.aa64pfr0)
    
    	Initialized = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/while_gradients_test.cc

      CreateBackprop();
    
      Run<double>({1.0, 1.0}, {-2.0, 2.0});
      Run<double>({0.0, 0.0}, {-2.0, 2.0});
    }
    
    TEST_F(WhileGradientsTest, MultipleDevices) {
      // Make sure loop is created on cpu0
      scope_ = scope_.WithDevice("/cpu:0");
    
      // Create loop: while (i < 10) i += j
      Init(2);
      CreateLoop(
          [](const Scope& s, const std::vector<Output>& inputs, Output* output) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

        return mlir::failure();
      auto status = tensorflow::DeviceNameUtils::DeviceNameToCpuDeviceName(
          tpu0_device, cpu0_device);
      if (!status.ok())
        return op->emitError()
               << "error in converting TPU0 to CPU0. The TPU device is "
               << tpu0_device;
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. src/cmd/dist/test.go

    					ldflags:   "-linkmode=internal",
    					pkg:       "os/user",
    				})
    		}
    	}
    
    	// sync tests
    	if t.hasParallelism() {
    		t.registerTest("sync -cpu=10",
    			&goTest{
    				variant: "cpu10",
    				timeout: 120 * time.Second,
    				cpu:     "10",
    				pkg:     "sync",
    			})
    	}
    
    	const cgoHeading = "Testing cgo"
    	if t.cgoEnabled {
    		t.registerCgoTests(cgoHeading)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top