Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GCFairness (0.1 sec)

  1. src/runtime/testdata/testprog/gc.go

    package main
    
    import (
    	"fmt"
    	"math"
    	"os"
    	"runtime"
    	"runtime/debug"
    	"runtime/metrics"
    	"sync"
    	"sync/atomic"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	register("GCFairness", GCFairness)
    	register("GCFairness2", GCFairness2)
    	register("GCSys", GCSys)
    	register("GCPhys", GCPhys)
    	register("DeferLiveness", DeferLiveness)
    	register("GCZombie", GCZombie)
    	register("GCMemoryLimit", GCMemoryLimit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. src/runtime/proc_test.go

    	want := "OK\n"
    	if output != want {
    		t.Fatalf("want %s, got %s\n", want, output)
    	}
    }
    
    func TestGCFairness(t *testing.T) {
    	output := runTestProg(t, "testprog", "GCFairness")
    	want := "OK\n"
    	if output != want {
    		t.Fatalf("want %s, got %s\n", want, output)
    	}
    }
    
    func TestGCFairness2(t *testing.T) {
    	output := runTestProg(t, "testprog", "GCFairness2")
    	want := "OK\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top