Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 179 for mspan (0.06 sec)

  1. src/runtime/gc_test.go

    	for i := 0; i < b.N; i++ {
    		b.StartTimer()
    		runtime.GC()
    		runtime.GC()
    		b.StopTimer()
    	}
    	close(teardown)
    }
    
    func BenchmarkMSpanCountAlloc(b *testing.B) {
    	// Allocate one dummy mspan for the whole benchmark.
    	s := runtime.AllocMSpan()
    	defer runtime.FreeMSpan(s)
    
    	// n is the number of bytes to benchmark against.
    	// n must always be a multiple of 8, since gcBits is
    	// always rounded up 8 bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/metrics_test.go

    		case "/memory/classes/metadata/mcache/inuse:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.MCacheInuse)
    		case "/memory/classes/metadata/mspan/free:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.MSpanSys-mstats.MSpanInuse)
    		case "/memory/classes/metadata/mspan/inuse:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.MSpanInuse)
    		case "/memory/classes/metadata/other:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	sudogbuf   [128]*sudog
    
    	// Cache of mspan objects from the heap.
    	mspancache struct {
    		// We need an explicit length here because this field is used
    		// in allocation codepaths where write barriers are not allowed,
    		// and eliminating the write barrier/keeping it eliminated from
    		// slice updates is tricky, more so than just managing the length
    		// ourselves.
    		len int
    		buf [128]*mspan
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# HeapReleased = %d\n", s.HeapReleased)
    	fmt.Fprintf(w, "# HeapObjects = %d\n", s.HeapObjects)
    
    	fmt.Fprintf(w, "# Stack = %d / %d\n", s.StackInuse, s.StackSys)
    	fmt.Fprintf(w, "# MSpan = %d / %d\n", s.MSpanInuse, s.MSpanSys)
    	fmt.Fprintf(w, "# MCache = %d / %d\n", s.MCacheInuse, s.MCacheSys)
    	fmt.Fprintf(w, "# BuckHashSys = %d\n", s.BuckHashSys)
    	fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    // starting with 1 above. See discussion of GC rate below.
    
    // Concurrent sweep.
    //
    // The sweep phase proceeds concurrently with normal program execution.
    // The heap is swept span-by-span both lazily (when a goroutine needs another span)
    // and concurrently in a background goroutine (this helps programs that are not CPU bound).
    // At the end of STW mark termination all spans are marked as "needs sweeping".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/index.md

     │                          │
     │  <span style="background-color:#272822"><font color="#FF4689">from</font></span><span style="background-color:#272822"><font color="#F8F8F2"> main </font></span><span style="background-color:#272822"><font color="#FF4689">import</font></span><span style="background-color:#272822"><font color="#F8F8F2"> app</font></span><span style="background-color:#272822">  </span>  │
     │                          │
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html

              {{/* source line */ -}}
              <span class=line>{{printf " %6d" .Line}}</span>{{" " -}}
              <span class={{.HTMLClass}}>
                {{- printf "  %10s %10s %8s  %s " .Flat .Cumulative "" .SrcLine -}}
              </span>{{"" -}}
    
              {{if .Instructions -}}
                {{/* instructions for this source line */ -}}
                <span class=asm>{{"" -}}
                {{range .Instructions -}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/first-steps.md

     │                          │
     │  <span style="background-color:#272822"><font color="#FF4689">from</font></span><span style="background-color:#272822"><font color="#F8F8F2"> main </font></span><span style="background-color:#272822"><font color="#FF4689">import</font></span><span style="background-color:#272822"><font color="#F8F8F2"> app</font></span><span style="background-color:#272822">  </span>  │
     │                          │
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  9. docs/en/docs/fastapi-cli.md

     │                          │
     │  <span style="background-color:#272822"><font color="#FF4689">from</font></span><span style="background-color:#272822"><font color="#F8F8F2"> main </font></span><span style="background-color:#272822"><font color="#FF4689">import</font></span><span style="background-color:#272822"><font color="#F8F8F2"> app</font></span><span style="background-color:#272822">  </span>  │
     │                          │
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 23:39:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/pt/docs/fastapi-cli.md

     │                          │
     │  <span style="background-color:#272822"><font color="#FF4689">from</font></span><span style="background-color:#272822"><font color="#F8F8F2"> main </font></span><span style="background-color:#272822"><font color="#FF4689">import</font></span><span style="background-color:#272822"><font color="#F8F8F2"> app</font></span><span style="background-color:#272822">  </span>  │
     │                          │
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jun 11 23:49:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top