Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for stw (0.03 sec)

  1. src/internal/trace/traceviewer/mmu.go

            </p>
            <p>
              <b>Include</b><br>
              <input type="checkbox" id="stw" checked><label for="stw">STW</label>
              <span class="help">?<span>Stop-the-world stops all goroutines simultaneously.</span></span><br>
              <input type="checkbox" id="background" checked><label for="background">Background workers</label>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    	// is in the range [0, 1].
    	Util float64
    }
    
    // UtilFlags controls the behavior of MutatorUtilization.
    type UtilFlags int
    
    const (
    	// UtilSTW means utilization should account for STW events.
    	// This includes non-GC STW events, which are typically user-requested.
    	UtilSTW UtilFlags = 1 << iota
    	// UtilBackground means utilization should account for
    	// background mark workers.
    	UtilBackground
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. src/internal/trace/event/go122/event.go

    	EvGoStatus            // goroutine status at the start of a generation [timestamp, goroutine ID, thread ID, status]
    
    	// STW.
    	EvSTWBegin // STW start [timestamp, kind]
    	EvSTWEnd   // STW done [timestamp]
    
    	// GC events.
    	EvGCActive           // GC active [timestamp, seq]
    	EvGCBegin            // GC start [timestamp, seq, stack ID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. src/runtime/mgclimit.go

    }
    
    // finishGCTransition notifies the limiter that the GC transition is complete
    // and releases ownership of it. It also accumulates STW time in the bucket.
    // now must be the timestamp from the end of the STW pause.
    func (l *gcCPULimiterState) finishGCTransition(now int64) {
    	if !l.transitioning {
    		throw("finishGCTransition called without starting one?")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/runtime/os_linux.go

    	}
    
    	// STW to guarantee that user goroutines see an atomic change to thread
    	// state. Without STW, goroutines could migrate Ms while change is in
    	// progress and e.g., see state old -> new -> old -> new.
    	//
    	// N.B. Internally, this function does not depend on STW to
    	// successfully change every thread. It is only needed for user
    	// expectations, per above.
    	stw := stopTheWorld(stwAllThreadsSyscall)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    	// store instructions always have the memory operand at the end, no need to reorder
    	// indexed stores handled separately
    	case STB, STBU,
    		STH, STHU,
    		STW, STWU,
    		STD, STDU,
    		STFD, STFDU,
    		STFS, STFSU,
    		STQ, HASHST, HASHSTP:
    		return op + " " + strings.Join(args, ",")
    
    	case FCMPU, FCMPO, CMPD, CMPDI, CMPLD, CMPLDI, CMPW, CMPWI, CMPLW, CMPLWI:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/runtime/mstats.go

    	mcache_sys   sysMemStat
    	buckhash_sys sysMemStat // profiling bucket hash table
    
    	// Statistics about GC overhead.
    	gcMiscSys sysMemStat // updated atomically or during STW
    
    	// Miscellaneous statistics.
    	other_sys sysMemStat // updated atomically or during STW
    
    	// Statistics about the garbage collector.
    
    	// Protected by mheap or worldsema during GC.
    	last_gc_unix    uint64 // last gc (in unix time)
    	pause_total_ns  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/runtime/trace.go

    	// This is necessary to ensure the consistency of the STW events. If we're feeling
    	// adventurous we could lift this restriction and add a STWActive event, but the
    	// cost of maintaining this consistency is low. We're not going to hold this semaphore
    	// for very long and most STW periods are very short.
    	// Once we hold worldsema, prevent preemption as well so we're not interrupted partway
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    var ReadUnaligned64 = readUnaligned64
    
    func CountPagesInUse() (pagesInUse, counted uintptr) {
    	stw := stopTheWorld(stwForTestCountPagesInUse)
    
    	pagesInUse = mheap_.pagesInUse.Load()
    
    	for _, s := range mheap_.allspans {
    		if s.state.get() == mSpanInUse {
    			counted += s.npages
    		}
    	}
    
    	startTheWorld(stw)
    
    	return
    }
    
    func Fastrand() uint32          { return uint32(rand()) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/runtime/heapdump.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    //go:linkname runtime_debug_WriteHeapDump runtime/debug.WriteHeapDump
    func runtime_debug_WriteHeapDump(fd uintptr) {
    	stw := stopTheWorld(stwWriteHeapDump)
    
    	// Keep m on this G's stack instead of the system stack.
    	// Both readmemstats_m and writeheapdump_m have pretty large
    	// peak stack depths and we risk blowing the system stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top