Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 854 for spent (0.05 sec)

  1. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/trace/pprof.go

    // IO wait, currently only network blocking event).
    func computePprofIO() computePprofFunc {
    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    		return reason == "network"
    	})
    }
    
    // computePprofBlock returns a computePprofFunc that generates blocking pprof-like profile
    // (time spent blocked on synchronization primitives).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/runtime/os_darwin.go

    	for {
    		if mp.count > 0 {
    			mp.count--
    			pthread_mutex_unlock(&mp.mutex)
    			return 0
    		}
    		if ns >= 0 {
    			spent := nanotime() - start
    			if spent >= ns {
    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    			}
    			var t timespec
    			t.setNsec(ns - spent)
    			err := pthread_cond_timedwait_relative_np(&mp.cond, &mp.mutex, &t)
    			if err == _ETIMEDOUT {
    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics.go

    }
    
    func init() {
    	legacyregistry.MustRegister(Metrics.(*validationMetrics).RatchetingTime)
    }
    
    type validationMetrics struct {
    	RatchetingTime *metrics.Histogram
    }
    
    // ObserveRatchetingTime records the time spent on ratcheting
    func (m *validationMetrics) ObserveRatchetingTime(d time.Duration) {
    	m.RatchetingTime.Observe(d.Seconds())
    }
    
    // Reset resets the metrics. This is meant to be used for testing. Panics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:57:34 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go

    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "jwt_authenticator_latency_seconds",
    			Help:           "Latency of jwt authentication operations in seconds. This is the time spent authenticating a token for cache miss only (i.e. when the token is not found in the cache).",
    			StabilityLevel: metrics.ALPHA,
    			// default histogram buckets with a 1ms starting point
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/runtime/mgclimit.go

    // utilization without hurting throughput.
    //
    // Note that the bucket in the leaky bucket mechanism can never go negative,
    // so the GC never gets credit for a lot of CPU time spent without the GC
    // running. This is intentional, as an application that stays idle for, say,
    // an entire day, could build up enough credit to fail to prevent a death
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	}
    	return d2
    }
    
    // DurationTracker is a simple interface for tracking functions duration,
    // it is safe for concurrent use by multiple goroutines.
    type DurationTracker interface {
    	// Track measures time spent in the given function f and
    	// aggregates measured duration using aggregateFunction.
    	// if Track is invoked with f from multiple goroutines concurrently,
    	// then f must be safe to be invoked concurrently by multiple goroutines.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/runtime/mstats.go

    	ScavengeTotalTime  int64
    
    	IdleTime int64 // Time Ps spent in _Pidle.
    	UserTime int64 // Time Ps spent in _Prunning or _Psyscall that's not any of the above.
    
    	TotalTime int64 // GOMAXPROCS * (monotonic wall clock time elapsed)
    }
    
    // accumulateGCPauseTime add dt*stwProcs to the GC CPU pause time stats. dt should be
    // the actual time spent paused, for orthogonality. maxProcs should be GOMAXPROCS,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compilation_profiler.h

        // Number of times the cluster has been (re-)compiled.
        int64_t compile_count = 0;
    
        // The number of times this cluster has been executed.
        int64_t execution_count = 0;
    
        // Cumulative time spent compiling the cluster.
        int64_t cumulative_compile_time_us = 0;
    
        // True if we have decided that this cluster is too dynamic (i.e. its shapes
        // change too frequently) to profitably JIT compile.  Once a cluster is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    			select {
    			case <-dctx.Done():
    				if !timeout.Stop() {
    					<-timeout.C
    				}
    			case <-timeout.C:
    				spent := time.Since(started)
    				goOffline(fmt.Errorf("unable to write+read for %v", spent.Round(time.Millisecond)), spent)
    			}
    		}()
    
    		func() {
    			defer dcancel()
    
    			err := p.storage.WriteAll(ctx, minioMetaTmpBucket, fn, toWrite)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top