Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 502 for timerC (0.28 sec)

  1. src/runtime/os_linux.go

    		ret := timer_delete(timerid)
    		if ret != 0 {
    			print("runtime: failed to disable profiling timer; timer_delete(", timerid, ") errno=", -ret, "\n")
    			throw("timer_delete")
    		}
    	}
    
    	if hz == 0 {
    		// If the goal was to disable profiling for this thread, then the job's done.
    		return
    	}
    
    	// The period of the timer should be 1/Hz. For every "1/Hz" of additional
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. src/internal/trace/parser.go

    package trace
    
    // Frame is a frame in stack traces.
    type Frame struct {
    	PC   uint64
    	Fn   string
    	File string
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/runtime/netpoll.go

    	user    uint32    // user settable cookie
    	rseq    uintptr   // protects from stale read timers
    	rt      timer     // read deadline timer
    	rd      int64     // read deadline (a nanotime in the future, -1 when expired)
    	wseq    uintptr   // protects from stale write timers
    	wt      timer     // write deadline timer
    	wd      int64     // write deadline (a nanotime in the future, -1 when expired)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/time.gox

    >) <type 2 chan <- <type 3 "Time" <type 4 struct { .time.sec <type -4>; .time.nsec <type -3>; .time.loc <type 5 *<type 6 "Location" <type 7 struct { .time.name <type -16>; .time.zone <type 8 [] <type 9 ".time.zone" <type 10 struct { .time.name <type -16>; .time.offset <type -11>; .time.isDST <type -15>; }>>>; .time.tx <type 11 [] <type 12 ".time.zoneTrans" <type 13 struct { .time.when <type -4>; .time.index <type -5>; .time.isstd <type -15>; .time.isutc <type -15>; }>>>; .time.cacheStart...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    // for exponential backoff. The returned timer must be drained before calling Backoff() the second
    // time.
    func (b *backoffManager) Backoff() clock.Timer {
    	b.lock.Lock()
    	defer b.lock.Unlock()
    	if b.timer == nil {
    		b.timer = b.clock.NewTimer(b.Step())
    	} else {
    		b.timer.Reset(b.Step())
    	}
    	return b.timer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  6. src/runtime/netpoll_windows.go

    	mp := getg().m
    
    	if delay >= 1e15 {
    		// An arbitrary cap on how long to wait for a timer.
    		// 1e15 ns == ~11.5 days.
    		delay = 1e15
    	}
    
    	if delay > 0 && mp.waitIocpHandle != 0 {
    		// GetQueuedCompletionStatusEx doesn't use a high resolution timer internally,
    		// so we use a separate higher resolution timer associated with a wait completion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	// running P (returned by pidleget) may add a timer at any time, so its mask
    	// must be set. An idle P (passed to pidleput) cannot add new timers while
    	// idle, so if it has no timers at that time, its mask may be cleared.
    	//
    	// Thus, we get the following effects on timer-stealing in findrunnable:
    	//
    	//   - Idle Ps with no timers when they go idle are never checked in findrunnable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. cmd/tier.go

    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    		config.Tiers[tier] = cfg
    	}
    	config.lastRefreshedAt = UTCNow()
    	return nil
    }
    
    // Save saves tier configuration onto objAPI
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    	}
    	return false
    }
    
    // Unix returns the local time corresponding to the given Unix time
    // by wrapping time.Unix.
    func Unix(sec int64, nsec int64) Time {
    	return Time{time.Unix(sec, nsec)}
    }
    
    // Rfc3339Copy returns a copy of the Time at second-level precision.
    func (t Time) Rfc3339Copy() Time {
    	copied, _ := time.Parse(time.RFC3339, t.Format(time.RFC3339))
    	return Time{copied}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    // It reports whether any elements were removed.
    // Because it is only intended for timers, it does not
    // handle waiting senders at all (all timer channels
    // use non-blocking sends to fill the buffer).
    func timerchandrain(c *hchan) bool {
    	// Note: Cannot use empty(c) because we are called
    	// while holding c.timer.sendLock, and empty(c) will
    	// call c.timer.maybeRunChan, which will deadlock.
    	// We are emptying the channel, so we only care about
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top