Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for pause_end (0.13 sec)

  1. src/runtime/mstats.go

    	// from there to go back farther in time. We deliver the times
    	// most recent first (in p[0]).
    	p = p[:cap(p)]
    	for i := uint32(0); i < n; i++ {
    		j := (memstats.numgc - 1 - i) % uint32(len(memstats.pause_ns))
    		p[i] = memstats.pause_ns[j]
    		p[n+i] = memstats.pause_end[j]
    	}
    
    	p[n+n] = memstats.last_gc_unix
    	p[n+n+1] = uint64(memstats.numgc)
    	p[n+n+2] = memstats.pause_total_ns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    	atomic.Store64(&memstats.last_gc_nanotime, uint64(now)) // monotonic time for us
    	memstats.pause_ns[memstats.numgc%uint32(len(memstats.pause_ns))] = uint64(work.pauseNS)
    	memstats.pause_end[memstats.numgc%uint32(len(memstats.pause_end))] = uint64(unixNow)
    	memstats.pause_total_ns += uint64(work.pauseNS)
    
    	// Accumulate CPU stats.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage_test.go

    	// compare memory stats with gc stats:
    	if len(stats.PauseEnd) != n {
    		t.Fatalf("len(stats.PauseEnd) = %d, want %d", len(stats.PauseEnd), n)
    	}
    	off := (int(mstats.NumGC) + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd)
    	for i := 0; i < n; i++ {
    		dt := stats.PauseEnd[i]
    		if dt.UnixNano() != int64(mstats.PauseEnd[off]) {
    			t.Errorf("stats.PauseEnd[%d] = %d, want %d", i, dt.UnixNano(), mstats.PauseEnd[off])
    		}
    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. cmd/admin-server-info.go

    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    		gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:]
    	}
    	if len(gcStats.Pause) > 5 {
    		gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:]
    	}
    
    	props := madmin.ServerProperties{
    		Endpoint: addr,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/runtime/debug/garbage.go

    	n /= 2 // buffer holds pauses and end times
    	stats.Pause = stats.Pause[:n]
    
    	if cap(stats.PauseEnd) < maxPause {
    		stats.PauseEnd = make([]time.Time, 0, maxPause)
    	}
    	stats.PauseEnd = stats.PauseEnd[:0]
    	for _, ns := range stats.Pause[n : n+n] {
    		stats.PauseEnd = append(stats.PauseEnd, time.Unix(0, int64(ns)))
    	}
    
    	if len(stats.PauseQuantiles) > 0 {
    		if n == 0 {
    			clear(stats.PauseQuantiles)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/runtime/malloc_test.go

    		t.Fatalf("HeapIdle(%d) + HeapInuse(%d) should be equal to HeapSys(%d), but isn't.", st.HeapIdle, st.HeapInuse, st.HeapSys)
    	}
    
    	if lpe := st.PauseEnd[int(st.NumGC+255)%len(st.PauseEnd)]; st.LastGC != lpe {
    		t.Fatalf("LastGC(%d) != last PauseEnd(%d)", st.LastGC, lpe)
    	}
    
    	var pauseTotal uint64
    	for _, pause := range st.PauseNs {
    		pauseTotal += pause
    	}
    	if int(st.NumGC) < len(st.PauseNs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. api/go1.4.txt

    pkg reflect, type Type interface, Comparable() bool
    
    # CL 153670043 runtime: add PauseEnd array to MemStats and GCStats, Jens Frederich <******@****.***>
    pkg runtime, type MemStats struct, PauseEnd [256]uint64
    pkg runtime/debug, type GCStats struct, PauseEnd []time.Time
    
    # CL 136710045 sync/atomic: add Value, Dmitriy Vyukov <******@****.***>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // `sparse_begin`, `sparse_end`, and `sparse_strides` ranges and `begin_mask`,
    // `end_mask`, `ellipsis_mask` , `new_axis_mask` and `shrink_axis_mask` masks.
    // Updates the result back to `input_shape`.
    static void CalculateSlicedShapeFromSparseIndices(
        MutableArrayRef<int64_t> input_shape, ArrayRef<int64_t> sparse_begin,
        ArrayRef<int64_t> sparse_end, ArrayRef<int64_t> sparse_strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys)
    
    	fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC)
    	fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC)
    	fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs)
    	fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd)
    	fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
    	fmt.Fprintf(w, "# NumForcedGC = %d\n", s.NumForcedGC)
    	fmt.Fprintf(w, "# GCCPUFraction = %v\n", s.GCCPUFraction)
    	fmt.Fprintf(w, "# DebugGC = %v\n", s.DebugGC)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. src/image/png/reader.go

    }
    
    func (d *decoder) parseIDAT(length uint32) (err error) {
    	d.idatLength = length
    	d.img, err = d.decode()
    	if err != nil {
    		return err
    	}
    	return d.verifyChecksum()
    }
    
    func (d *decoder) parseIEND(length uint32) error {
    	if length != 0 {
    		return FormatError("bad IEND length")
    	}
    	return d.verifyChecksum()
    }
    
    func (d *decoder) parseChunk(configOnly bool) error {
    	// Read the length and chunk type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top