- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 53 for t0 (0.05 sec)
-
pilot/pkg/xds/discovery.go
envoyfilter.RecordMetrics() } // PushContext is reset after a config change. Previous status is // saved. t0 := time.Now() versionLocal := s.NextVersion() push, err := s.initPushContext(req, oldPushContext, versionLocal) if err != nil { return } initContextTime := time.Since(t0) log.Debugf("InitContext %v for push took %s", versionLocal, initContextTime) pushContextInitTime.Record(initContextTime.Seconds())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 20:21:09 UTC 2024 - 19K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
} return outname } func testPath(t *testing.T, path, srcDir string) *types.Package { t0 := time.Now() fset := token.NewFileSet() pkg, err := Import(fset, make(map[string]*types.Package), path, srcDir, nil) if err != nil { t.Errorf("testPath(%s): %s", path, err) return nil } t.Logf("testPath(%s): %v", path, time.Since(t0)) return pkg } var pkgExts = [...]string{".a", ".o"} // keep in sync with gcimporter.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/internal/trace/event.go
// machine. This is because the system clock was not used at all // to collect those timestamps. type Time int64 // Sub subtracts t0 from t, returning the duration in nanoseconds. func (t Time) Sub(t0 Time) time.Duration { return time.Duration(int64(t) - int64(t0)) } // Metric provides details about a Metric event. type Metric struct { // Name is the name of the sampled metric. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
SizeofCmsghdr = 0x10 ) const ( SizeofSockFprog = 0x10 ) type PtraceRegs struct { Pc uint64 Ra uint64 Sp uint64 Gp uint64 Tp uint64 T0 uint64 T1 uint64 T2 uint64 S0 uint64 S1 uint64 A0 uint64 A1 uint64 A2 uint64 A3 uint64 A4 uint64 A5 uint64 A6 uint64 A7 uint64 S2 uint64 S3 uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 13.3K bytes - Viewed (0) -
src/time/example_test.go
// license that can be found in the LICENSE file. package time_test import ( "fmt" "time" ) func expensiveCall() {} func ExampleDuration() { t0 := time.Now() expensiveCall() t1 := time.Now() fmt.Printf("The call took %v to run.\n", t1.Sub(t0)) } func ExampleDuration_Round() { d, err := time.ParseDuration("1h15m30.918273645s") if err != nil { panic(err) } round := []time.Duration{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
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) -
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) -
pkg/test/framework/components/istio/kube.go
istiod: map[string]istiokube.PortForwarder{}, externalControlPlane: ctx.AllClusters().IsExternalControlPlane(), } t0 := time.Now() defer func() { ctx.RecordTraceEvent("istio-deploy", time.Since(t0).Seconds()) }() i.id = ctx.TrackResource(i) if !cfg.DeployIstio { scopes.Framework.Info("skipping deployment as specified in the config") return i, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
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: Thu Feb 22 17:15:24 UTC 2024 - 37.7K bytes - Viewed (0) -
src/go/types/index.go
x.mode = invalid return false } index := check.singleIndex(e) if index == nil { x.mode = invalid return false } // In pathological (invalid) cases (e.g.: type T1 [][[]T1{}[0][0]]T0) // the element type may be accessed before it's set. Make sure we have // a valid type. if x.typ == nil { x.typ = Typ[Invalid] } check.index(index, length) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 11.2K bytes - Viewed (0)