Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for startTimer (0.21 sec)

  1. src/cmd/trace/gstate.go

    		Stack:    stk,
    	})
    
    	// Flush completed ranges.
    	for _, cr := range gs.completedRanges {
    		ctx.Slice(traceviewer.SliceEvent{
    			Name:     cr.name,
    			Ts:       ctx.elapsed(cr.startTime),
    			Dur:      cr.endTime.Sub(cr.startTime),
    			Resource: uint64(gs.executing),
    			Stack:    ctx.Stack(viewerFrames(cr.startStack)),
    			EndStack: ctx.Stack(viewerFrames(cr.endStack)),
    			Arg:      cr.arg,
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/runtime.go

    	// lock protects access to start* and val.
    	lock       mutex
    	startTicks int64
    	startTime  int64
    	val        atomic.Int64
    }
    
    // init initializes ticks to maximize the chance that we have a good ticksPerSecond reference.
    //
    // Must not run concurrently with ticksPerSecond.
    func (t *ticksType) init() {
    	lock(&ticks.lock)
    	t.startTime = nanotime()
    	t.startTicks = cputicks()
    	unlock(&ticks.lock)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    }
    
    func (p *rebalanceMetrics) log(r rebalanceMetric, poolIdx int, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceRebalance) > 0 {
    			globalTrace.Publish(rebalanceTrace(r, poolIdx, startTime, duration, err, strings.Join(paths, " "), sz))
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    	}
    }
    
    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string) {
    	startTime := time.Now()
    	return func(event string) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceILM) > 0 {
    			globalTrace.Publish(ilmTrace(startTime, duration, oi, event))
    		}
    	}
    }
    
    type expiryTask struct {
    	objInfo ObjectInfo
    	event   lifecycle.Event
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    func healTrace(funcName healingMetric, startTime time.Time, bucket, object string, opts *madmin.HealOpts, err error, result *madmin.HealResultItem) {
    	tr := madmin.TraceInfo{
    		TraceType: madmin.TraceHealing,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "heal." + funcName.String(),
    		Duration:  time.Since(startTime),
    		Path:      pathJoin(bucket, decodeDirObject(object)),
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    )
    
    // reports generates reports from inactive count files
    func (u *uploader) reports(todo *work) ([]string, error) {
    	if mode, _ := u.dir.Mode(); mode == "off" {
    		return nil, nil // no reports
    	}
    	thisInstant := u.startTime
    	today := thisInstant.Format("2006-01-02")
    	lastWeek := latestReport(todo.uploaded)
    	if lastWeek >= today { //should never happen
    		lastWeek = ""
    	}
    	u.logger.Printf("Last week: %s, today: %s", lastWeek, today)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

            def result = serialize(message, serializer)
            result instanceof Build
            result.identifier == message.identifier
            result.token == message.token
            result.startTime == message.startTime
            result.interactive
            result.action
            result.buildClientMetaData
            result.parameters
        }
    
        def "can serialize DaemonUnavailable message"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    }
    
    func storageTrace(s storageMetric, startTime time.Time, duration time.Duration, path string, size int64, err string, custom map[string]string) madmin.TraceInfo {
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Bytes:     size,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/bucket-replication-utils.go

    }
    
    // ResyncTarget is a struct representing the Target reset ID where target is identified by its Arn
    type ResyncTarget struct {
    	Arn       string    `json:"arn"`
    	ResetID   string    `json:"resetid"`
    	StartTime time.Time `json:"startTime"`
    	EndTime   time.Time `json:"endTime"`
    	// Status of resync operation
    	ResyncStatus string `json:"resyncStatus,omitempty"`
    	// Completed size in bytes
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    	//
    	// Once set, the field can only be removed when the job is suspended.
    	// The field cannot be modified while the job is unsuspended or finished.
    	//
    	// +optional
    	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
    
    	// Represents time when the job was completed. It is not guaranteed to
    	// be set in happens-before order across separate operations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top