- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for microsecond (0.46 sec)
-
src/cmd/trace/viewer.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/trace/testdata/testprog/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
}, DefaultUnit: Unit{"B", []string{"b", "byte"}, 1}, }, { Units: []Unit{ {"ns", []string{"ns", "nanosecond"}, float64(time.Nanosecond)}, {"us", []string{"μs", "us", "microsecond"}, float64(time.Microsecond)}, {"ms", []string{"ms", "millisecond"}, float64(time.Millisecond)}, {"s", []string{"s", "sec", "second"}, float64(time.Second)}, {"hrs", []string{"hour", "hr"}, float64(time.Hour)}, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go
func TestMicroTimeUnmarshalJSONAndProtoEqual(t *testing.T) { cases := []struct { name string input MicroTime result bool }{ {"nanosecond level precision", UnixMicro(123, 123123123), true}, {"microsecond level precision", UnixMicro(123, 123123000), true}, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { jsonData, err := c.input.MarshalJSON() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 11.1K bytes - Viewed (0) -
src/internal/trace/gc_test.go
defer func(old int) { trace.BandsPerSeries = old }(trace.BandsPerSeries) trace.BandsPerSeries = 1 mmuCurve2 := trace.NewMMUCurve(mu) quantiles := []float64{0, 1 - .999, 1 - .99} for window := time.Microsecond; window < time.Second; window *= 10 { mud1 := mmuCurve.MUD(window, quantiles) mud2 := mmuCurve2.MUD(window, quantiles) for i := range mud1 { if !aeq(mud1[i], mud2[i]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go
package v1 import ( "encoding/json" "time" cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct" ) const RFC3339Micro = "2006-01-02T15:04:05.000000Z07:00" // MicroTime is version of Time with microsecond level precision. // // +protobuf.options.marshal=false // +protobuf.as=Timestamp // +protobuf.options.(gogoproto.goproto_stringer)=false type MicroTime struct { time.Time `protobuf:"-"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 5.2K bytes - Viewed (0) -
src/time/tick_test.go
defer wg.Wait() // Build up the timer heap. const count = 5000 wg.Add(count) for range count { go func() { defer wg.Done() Sleep(10 * Microsecond) }() } for range count { Sleep(1 * Microsecond) } // Give ourselves 60 seconds to complete. // This used to reliably fail on a Mac M3 laptop, // which needed 77 seconds.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
t.Fatal(err) } return data } func sumExecutionTime(data format.Data) (sum time.Duration) { for _, e := range data.Events { sum += time.Duration(e.Dur) * time.Microsecond } return } func getTestTrace(t *testing.T, testPath string) *parsedTrace { t.Helper() // First read in the text trace and write it out as bytes. f, err := os.Open(testPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
src/time/time_test.go
{"1.0040s", 1*Second + 4*Millisecond}, {"100.00100s", 100*Second + 1*Millisecond}, // different units {"10ns", 10 * Nanosecond}, {"11us", 11 * Microsecond}, {"12µs", 12 * Microsecond}, // U+00B5 {"12μs", 12 * Microsecond}, // U+03BC {"13ms", 13 * Millisecond}, {"14s", 14 * Second}, {"15m", 15 * Minute}, {"16h", 16 * Hour}, // composite durations {"3h30m", 3*Hour + 30*Minute},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
enforceCPULimits: cm.EnforceCPULimits, // cpuCFSQuotaPeriod is in microseconds. NodeConfig.CPUCFSQuotaPeriod is time.Duration (measured in nano seconds). // Convert (cm.CPUCFSQuotaPeriod) [nanoseconds] / time.Microsecond (1000) to get cpuCFSQuotaPeriod in microseconds. cpuCFSQuotaPeriod: uint64(cm.CPUCFSQuotaPeriod / time.Microsecond), } } return &podContainerManagerNoop{ cgroupRoot: cm.cgroupRoot, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)