Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NumGC (0.11 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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