- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for timeprof (0.49 sec)
-
src/runtime/testdata/testprog/timeprof.go
// license that can be found in the LICENSE file. package main import ( "fmt" "os" "runtime/pprof" "time" ) func init() { register("TimeProf", TimeProf) } func TimeProf() { f, err := os.CreateTemp("", "timeprof") if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(2) } if err := pprof.StartCPUProfile(f); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 813 bytes - Viewed (0) -
src/runtime/crash_test.go
t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS) } // Pass GOTRACEBACK for issue #41120 to try to get more // information on timeout. fn := runTestProg(t, "testprog", "TimeProf", "GOTRACEBACK=crash") fn = strings.TrimSpace(fn) defer os.Remove(fn) cmd := testenv.CleanCmdEnv(exec.Command(testenv.GoToolPath(t), "tool", "pprof", "-top", "-nodecount=1", fn))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/go/doc/testdata/benchmark.go
N int benchmark InternalBenchmark bytes int64 timerOn bool result BenchmarkResult } // StartTimer starts timing a test. This function is called automatically // before a benchmark starts, but it can also used to resume timing after // a call to StopTimer. func (b *B) StartTimer() { if !b.timerOn { b.start = time.Now() b.timerOn = true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 7.4K bytes - Viewed (0) -
src/testing/benchmark.go
// before a benchmark starts, but it can also be used to resume timing after // a call to [B.StopTimer]. func (b *B) StartTimer() { if !b.timerOn { runtime.ReadMemStats(&memStats) b.startAllocs = memStats.Mallocs b.startBytes = memStats.TotalAlloc b.start = highPrecisionTimeNow() b.timerOn = true } } // StopTimer stops timing a test. This can be used to pause the timer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
[], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(istio_build{component=\"pilot\"}) by (tag)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ tag }}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Pilot Versions", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] },...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0) -
src/go/doc/testdata/testing.1.golden
TYPES // B is a type passed to Benchmark functions to manage benchmark ... type B struct { common N int benchmark InternalBenchmark bytes int64 timerOn bool result BenchmarkResult } // Error is equivalent to Log() followed by Fail(). func (c *B) Error(args ...any) // Errorf is equivalent to Logf() followed by Fail().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8.4K bytes - Viewed (0) -
manifests/addons/dashboards/istio-mesh-dashboard.json
{ "id": "custom.align", "value": null } ] } ] }, "hideTimeOverride": false, "timeFrom": null, "transformations": [ { "id": "merge", "options": { "reducers": [] } } ], "pluginVersion": "10.1.5"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 02:28:01 UTC 2024 - 46.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
// Setitimer. type ItimerWhich int // Possible which values for Getitimer and Setitimer. const ( ItimerReal ItimerWhich = ITIMER_REAL ItimerVirtual ItimerWhich = ITIMER_VIRTUAL ItimerProf ItimerWhich = ITIMER_PROF ) // Getitimer wraps getitimer(2) to return the current value of the timer // specified by which. func Getitimer(which ItimerWhich) (Itimerval, error) { var it Itimerval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/debug/elf/elf.go
EM_STM8 Machine = 186 /* STMicroeletronics STM8 8-bit microcontroller */ EM_TILE64 Machine = 187 /* Tilera TILE64 multicore architecture family */ EM_TILEPRO Machine = 188 /* Tilera TILEPro multicore architecture family */ EM_MICROBLAZE Machine = 189 /* Xilinx MicroBlaze 32-bit RISC soft processor core */ EM_CUDA Machine = 190 /* NVIDIA CUDA architecture */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
samples/addons/grafana.yaml
t"},{"id":"decimals","value":2},{"id":"links","value":[{"title":"$__cell dashboard","url":"/dashboard/db/istio-service-dashboard?var-service=${__cell_1:raw}","targetBlank":false}]},{"id":"custom.align","value":null}]}]},"hideTimeOverride":false,"timeFrom":null,"transformations":[{"id":"merge","options":{"reducers":[]}}],"pluginVersion":"10.1.5"},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":{"type":"prometheus","uid":"${datasource}"},"fill":1,"gridPos":{"h":9,"w":24,...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 242.3K bytes - Viewed (0)