Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NumGC (0.03 sec)

  1. pkg/ctrlz/assets/templates/home.html

        </tr>
    
        <tr>
            <td>Heap Size</td>
            <td id="HeapSize">{{.HeapSize}} bytes</td>
        </tr>
    
        <tr>
            <td>Num Garbage Collections</td>
            <td id="NumGC">{{.NumGC}}</td>
        </tr>
    
        <tr>
            <td>Current Time</td>
            <td id="CurrentTime"></td>
        </tr>
    
        <script>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. test/init1.go

    	runtime.ReadMemStats(memstats)
    	sys, numGC := memstats.Sys, memstats.NumGC
    
    	// Generate 1,000 MB of garbage, only retaining 1 MB total.
    	for i := 0; i < N; i++ {
    		x = []byte(s)
    	}
    
    	// Verify that the garbage collector ran by seeing if we
    	// allocated fewer than N*MB bytes from the system.
    	runtime.ReadMemStats(memstats)
    	sys1, numGC1 := memstats.Sys, memstats.NumGC
    	if sys1-sys >= N*MB || numGC1 == numGC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage_test.go

    	ReadGCStats(&stats)
    	runtime.GC()
    
    	// Assume these will return same data: no GC during ReadGCStats.
    	ReadGCStats(&stats)
    	runtime.ReadMemStats(&mstats)
    
    	if stats.NumGC != int64(mstats.NumGC) {
    		t.Errorf("stats.NumGC = %d, but mstats.NumGC = %d", stats.NumGC, mstats.NumGC)
    	}
    	if stats.PauseTotal != time.Duration(mstats.PauseTotalNs) {
    		t.Errorf("stats.PauseTotal = %d, but mstats.PauseTotalNs = %d", stats.PauseTotal, mstats.PauseTotalNs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. pkg/ctrlz/home.go

    type homeInfo struct {
    	ProcessName string
    	HeapSize    uint64
    	NumGC       uint32
    	CurrentTime int64
    	Hostname    string
    	IP          string
    }
    
    func getHomeInfo() *homeInfo {
    	var ms runtime.MemStats
    	runtime.ReadMemStats(&ms)
    
    	hostName, _ := os.Hostname()
    
    	return &homeInfo{
    		ProcessName: os.Args[0],
    		HeapSize:    ms.HeapAlloc,
    		NumGC:       ms.NumGC,
    		CurrentTime: time.Now().UnixNano(),
    		Hostname:    hostName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/ctrlz/topics/assets/templates/mem.html

            <td>PauseTotalNs</td>
            <td id="PauseTotalNs">{{.PauseTotalNs}} ns</td>
            <td>Cumulative time spent in GC stop-the-world pauses.</td>
        </tr>
    
        <tr>
            <td>NumGC</td>
            <td id="NumGC">{{.NumGC}} GC cycles</td>
            <td>Completed GC cycles.</td>
        </tr>
    
        <tr>
            <td>NumForcedGC</td>
            <td id="NumForcedGC">{{.NumForcedGC}} GC cycles</td>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. cmd/admin-server-info.go

    		},
    		GoMaxProcs:     runtime.GOMAXPROCS(0),
    		NumCPU:         runtime.NumCPU(),
    		RuntimeVersion: runtime.Version(),
    		GCStats: &madmin.GCStats{
    			LastGC:     gcStats.LastGC,
    			NumGC:      gcStats.NumGC,
    			PauseTotal: gcStats.PauseTotal,
    			Pause:      gcStats.Pause,
    			PauseEnd:   gcStats.PauseEnd,
    		},
    		MinioEnvVars: make(map[string]string, 10),
    	}
    
    	for poolNumber := range poolNumbers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/sync/pool_test.go

    			}
    			for i, v := range items {
    				p.Put(v)
    				items[i] = nil
    			}
    		}
    		_ = sink
    	})
    	runtime.ReadMemStats(&mstats2)
    
    	b.ReportMetric(float64(mstats2.NumGC-mstats1.NumGC)/float64(b.N), "GCs/op")
    	b.ReportMetric(float64(nNew)/float64(b.N), "New/op")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top