- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for sample_index (0.51 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go
continue } if name == "sample_index" { // Error check sample_index=xxx to ensure xxx is a valid sample type. index, err := p.SampleIndexByName(value) if err != nil { o.UI.PrintErr(err) continue } if index < 0 || index >= len(p.SampleType) { o.UI.PrintErr(fmt.Errorf("invalid sample_index %q", value)) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 10.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
" -inuse_space Same as -sample_index=inuse_space\n" + " -inuse_objects Same as -sample_index=inuse_objects\n" + " -alloc_space Same as -sample_index=alloc_space\n" + " -alloc_objects Same as -sample_index=alloc_objects\n" + " -total_delay Same as -sample_index=delay\n" + " -contentions Same as -sample_index=contentions\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/index.go
} return i, nil } // Remove the inuse_ prefix to support legacy pprof options // "inuse_space" and "inuse_objects" for profiles containing types // "space" and "objects". noInuse := strings.TrimPrefix(sampleIndex, "inuse_") for i, t := range p.SampleType { if t.Type == sampleIndex || t.Type == noInuse { return i, nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 19:18:53 UTC 2017 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
func init() { // Config names for fields that are not saved in settings and therefore // do not have a JSON name. notSaved := map[string]string{ // Not saved in settings, but present in URLs. "SampleIndex": "sample_index", // Following fields are also not placed in URLs. "Output": "output", "SourcePath": "source_path", "TrimPath": "trim_path", "DivideBy": "divide_by", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go
"For memory profiles, report average memory per allocation.", "For time-based profiles, report average time per event."), "sample_index": helpText( "Sample value to report (0-based index or name)", "Profiles contain multiple values per sample.", "Use sample_index=i to select the ith value (starting at 0)."), "normalize": helpText( "Scales profile based on the base profile."), // Data sorting criteria
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 18.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go
// and the type/units of those values. func sampleFormat(p *profile.Profile, sampleIndex string, mean bool) (value, meanDiv sampleValueFunc, v *profile.ValueType, err error) { if len(p.SampleType) == 0 { return nil, nil, nil, fmt.Errorf("profile has no samples") } index, err := p.SampleIndexByName(sampleIndex) if err != nil { return nil, nil, nil, err } value = valueExtractor(index) if mean {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 10.8K bytes - Viewed (0) -
src/strings/strings_test.go
actual := LastIndexByte(test.s, test.sep[0]) if actual != test.out { t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.s, test.sep[0], actual, test.out) } } } func simpleIndex(s, sep string) int { n := len(sep) for i := n; i <= len(s); i++ { if s[i-n:i] == sep { return i - n } } return -1 } func TestIndexRandom(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)