Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for total_us (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                logger.log("<-- END HTTP (${totalMs}ms, binary ${buffer.size}-byte body omitted)")
                return response
              }
    
              if (contentLength != 0L) {
                logger.log("")
                logger.log(buffer.clone().readString(charset))
              }
    
              logger.log(
                buildString {
                  append("<-- END HTTP (${totalMs}ms, ${buffer.size}-byte")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics.go

    	return cmd
    }
    
    type workloadMetrics struct {
    	workload                           string
    	totalRPS, errorRPS                 float64
    	p50Latency, p90Latency, p99Latency time.Duration
    }
    
    func run(c *cobra.Command, ctx cli.Context, args []string) error {
    	log.Debugf("metrics command invoked for workload(s): %v", args)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/metrics-v3-bucket-replication.go

    					m.Set(bucketReplSentCount, float64(stat.ReplicatedCount), labels...)
    					m.Set(bucketReplTotalFailedBytes, float64(stat.Failed.Totals.Bytes), labels...)
    					m.Set(bucketReplTotalFailedCount, float64(stat.Failed.Totals.Count), labels...)
    					m.Set(bucketReplProxiedDeleteTaggingRequestsFailures, float64(s.ProxyStats.RmvTagFailedTotal), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Totals":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    				err = z.Totals[za0001].DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/go/script_test.go

    		if err != nil {
    			t.Fatalf("reading counter file: %v", err)
    		}
    		for k, v := range counters {
    			totals[k] += v
    		}
    	}
    
    	return totals
    }
    
    func checkCounters(t *testing.T, telemetryDir string) {
    	counters := readCounters(t, telemetryDir)
    	if _, ok := scriptGoInvoked.Load(testing.TB(t)); ok {
    		if !disabledOnPlatform && len(counters) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top