Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for t0 (0.02 sec)

  1. pilot/pkg/config/kube/crdclient/client.go

    		// was already started by other thread
    		return
    	}
    
    	t0 := time.Now()
    	cl.logger.Infof("Starting Pilot K8S CRD controller")
    
    	if !kube.WaitForCacheSync("crdclient", stop, cl.informerSynced) {
    		cl.logger.Errorf("Failed to sync Pilot K8S CRD controller cache")
    		return
    	}
    	cl.logger.Infof("Pilot K8S CRD controller synced in %v", time.Since(t0))
    	cl.queue.Run(stop)
    	cl.logger.Infof("controller terminated")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    	}, {
    		count: 8,
    		delta: 1 * Second,
    	}} {
    		count, delta := test.count, test.delta
    		ticker := NewTicker(delta)
    		t0 := Now()
    		for range count / 2 {
    			<-ticker.C
    		}
    		ticker.Reset(delta * 2)
    		for range count - count/2 {
    			<-ticker.C
    		}
    		ticker.Stop()
    		t1 := Now()
    		dt := t1.Sub(t0)
    		target := 3 * delta * Duration(count/2)
    		slop := target * 3 / 10
    		if dt < target-slop || dt > target+slop {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. pilot/pkg/xds/delta.go

    	if w == nil {
    		return nil
    	}
    	gen := s.findGenerator(w.TypeUrl, con)
    	if gen == nil {
    		return nil
    	}
    	t0 := time.Now()
    
    	originalW := w
    	// If delta is set, client is requesting new resources or removing old ones. We should just generate the
    	// new resources it needs, rather than the entire set of known resources.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        if (profileTests) runTestProfiled();
        else super.runTest();
      }
    
      protected void runTestProfiled() throws Throwable {
        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
          if (elapsedMillis >= profileThreshold)
            System.out.printf("%n%s: %d%n", toString(), elapsedMillis);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top