- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 300 for counter2 (0.26 sec)
-
src/internal/coverage/cfile/testsupport.go
nCtrs := sd[i+coverage.NumCtrsOffset].Load() cst := i + coverage.FirstCtrOffset if cst+int(nCtrs) > len(sd) { break } counters := sd[cst : cst+int(nCtrs)] for i := range counters { if counters[i].Load() != 0 { totExec++ } } i += coverage.FirstCtrOffset + int(nCtrs) - 1 } } if tot == 0 { return 0.0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// Test only exports of the monitoring Cell Reader API which allows tests to // read current values from streamz counters defined in other modules. // // The code under test will have created streamz counters like this: // auto* streamz = tensorflow::monitoring::Counter<1>::New("name", // "description", "label"); // and then incremented that counter for various values of label: // streamz->GetCell("label-value")->IncrementBy(1); //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go
} return s } // Expand takes a counter defined with buckets and expands it into distinct // strings for each bucket func Expand(counter string) []string { prefix, rest, hasBuckets := strings.Cut(counter, "{") var counters []string if hasBuckets { buckets := strings.Split(strings.TrimSuffix(rest, "}"), ",") for _, b := range buckets { counters = append(counters, prefix+b) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go
SampleRate float64 Programs []*ProgramConfig } type ProgramConfig struct { // the counter names may have to be // repeated for each program. (e.g., if the counters are in a package // that is used in more than one program.) Name string Versions []string // versions present in a counterconfig Counters []CounterConfig `json:",omitempty"` Stacks []CounterConfig `json:",omitempty"` }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounters_test.go
} return } // There are some counters that we can't expect to see any non-zero values, like the // networking-related counters. if tc.skipCheck { return } // Wait until we get a non-zero perf counter data. if pollErr := wait.Poll(100*time.Millisecond, 5*perfCounterUpdatePeriod, func() (bool, error) { data, err := counter.getData() if err != nil { return false, err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 3.5K bytes - Viewed (0) -
src/internal/coverage/cfile/apis.go
// if alwaysTrue() { // XYZ() // counter update here // } // } // // In the instrumented version of ABC, the prolog of the function // will contain a series of stores to the initial portion of the // counter array to write number-of-counters, pkgid, funcid. Later // in the function there is also a store to increment a counter // for the block containing the call to XYZ(). If the CPU is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/covdata/subtractintersect.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 12 12:50:46 UTC 2022 - 5.5K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
towr = len(buf) } else { panic("internal error: bad counter flavor") } if sz, err := ws.Write(buf); err != nil { return err } else if sz != towr { return fmt.Errorf("writing counters: short write") } return nil } // Write out entries for each live function. emitter := func(pkid uint32, funcid uint32, counters []uint32) error { cfw.csh.FcnEntries++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
if err != nil { return nil, handleError(err) } counters = append(counters, counter) } return counters, nil } var ErrObjectNotFound = errors.New("object not found") var ErrObjectAlreadyExists = errors.New("object already exists") var ErrNameExceedsMaxLength = fmt.Errorf("object name exceeds the maximum allowed length of %d characters", MaxLength) var ErrEmptyName = errors.New("object name cannot be empty")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0)