- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for total_us (0.24 sec)
-
tensorflow/compiler/aot/benchmark.cc
// Collect stats and decide whether to stop. stats->per_iter_us.push_back(end_us - iter_start_us); const int64_t total_us = end_us - start_us; ++iters; if ((max_us > 0 && total_us >= max_us) || (options.max_iters > 0 && iters >= options.max_iters)) { stats->total_us = total_us; break; } } } } // namespace benchmark } // namespace tfcompile
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 19:45:29 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.h
}; // Stats holds statistics collected during benchmarking. struct Stats { std::vector<int64_t> per_iter_us; // Per-iteration deltas in us. int64_t total_us; // Total time in us. Stats() : total_us(0) { per_iter_us.reserve(5000); } }; // DumpStatsToStdout printfs to stdout stats in a multi-line human-friendly // form. void DumpStatsToStdout(const Stats& stats);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 2.5K bytes - Viewed (0) -
cmd/last-minute.go
merged.LastSec = l.LastSec } else { l.forwardTo(o.LastSec) merged.LastSec = o.LastSec } for i := range merged.Totals { merged.Totals[i] = AccElem{ Total: l.Totals[i].Total + o.Totals[i].Total, N: l.Totals[i].N + o.Totals[i].N, Size: l.Totals[i].Size + o.Totals[i].Size, } } return merged } // Add a new duration data func (l *lastMinuteLatency) add(t time.Duration) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/last-minute_gen.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 17.2K bytes - Viewed (0) -
tests/integration/telemetry/api/istioctl_metrics_test.go
return errors.New("unexpected output (incorrect workload)") } totalRPS, fErr := strconv.ParseFloat(fields[1], 32) if fErr != nil { t.Logf("Expected column 2 to show totalRPS, got %#v", fields) return fErr } if totalRPS <= 0.001 { t.Logf("Expected column 2 to show totalRPS more than 0.001, got %#v", fields) return errors.New("unexpected output (incorrect RPS)") } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler.go
totals = totalChanges(existingSlices[0], desiredSet) if totals.added == 0 && totals.updated == 0 && totals.removed == 0 && apiequality.Semantic.DeepEqual(endpoints.Labels, compareLabels) && apiequality.Semantic.DeepEqual(compareAnnotations, existingSlices[0].Annotations) { return slices, totals } } // generate a new slice with the desired endpoints.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 13.1K bytes - Viewed (0) -
cmd/bucket-stats.go
merged.LastMin = l.LastMin } else { l.forwardTo(o.LastMin) merged.LastMin = o.LastMin } for i := range merged.Totals { merged.Totals[i] = AccElem{ Total: l.Totals[i].Total + o.Totals[i].Total, N: l.Totals[i].N + o.Totals[i].N, Size: l.Totals[i].Size + o.Totals[i].Size, } } return merged } // Add a new duration data func (l *ReplicationLastHour) addsize(sz int64) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 13.1K bytes - Viewed (0) -
internal/pubsub/pubsub.go
} } } // Subscribe - Adds a subscriber to pubsub system func (ps *PubSub[T, M]) Subscribe(mask M, subCh chan T, doneCh <-chan struct{}, filter func(entry T) bool) error { totalSubs := atomic.AddInt32(&ps.numSubscribers, 1) if ps.maxSubscribers > 0 && totalSubs > ps.maxSubscribers { atomic.AddInt32(&ps.numSubscribers, -1) return fmt.Errorf("the limit of `%d` subscribers is reached", ps.maxSubscribers) } ps.Lock() defer ps.Unlock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/speedtest.go
results := globalNotificationSys.SpeedTest(ctx, sopts) sort.Slice(results, func(i, j int) bool { return results[i].Endpoint < results[j].Endpoint }) totalPut := uint64(0) totalGet := uint64(0) for _, result := range results { totalPut += result.Uploads totalGet += result.Downloads } if totalGet < throughputHighestGet { // Following check is for situations
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_helpers.go
// totalsByAction includes total numbers for added and removed. type totalsByAction struct { added, updated, removed int } // add adds totals from another totalsByAction struct. func (t *totalsByAction) add(totals totalsByAction) { t.added += totals.added t.updated += totals.updated t.removed += totals.removed } // newDesiredCalc initializes and returns a new desiredCalc. func newDesiredCalc() *desiredCalc { return &desiredCalc{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 4.7K bytes - Viewed (0)