Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,087 for SECONDS (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/duration/duration.go

    func ShortHumanDuration(d time.Duration) string {
    	// Allow deviation no more than 2 seconds(excluded) to tolerate machine time
    	// inconsistence, it can be considered as almost now.
    	if seconds := int(d.Seconds()); seconds < -1 {
    		return "<invalid>"
    	} else if seconds < 0 {
    		return "0s"
    	} else if seconds < 60 {
    		return fmt.Sprintf("%ds", seconds)
    	} else if minutes := int(d.Minutes()); minutes < 60 {
    		return fmt.Sprintf("%dm", minutes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 09:44:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/kubelet/util/node_startup_latency_tracker_test.go

    		}
    
    		wants := `
    		# HELP kubelet_node_startup_duration_seconds [ALPHA] Duration in seconds of node startup in total.
            # TYPE kubelet_node_startup_duration_seconds gauge
            kubelet_node_startup_duration_seconds 0
            # HELP kubelet_node_startup_post_registration_duration_seconds [ALPHA] Duration in seconds of node startup after registration.
            # TYPE kubelet_node_startup_post_registration_duration_seconds gauge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 05:54:25 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/metrics/metrics.go

    func (m *CelMetrics) ObserveCompilation(elapsed time.Duration) {
    	seconds := elapsed.Seconds()
    	m.compilationTime.Observe(seconds)
    }
    
    // ObserveEvaluation records a CEL evaluation with the time the evaluation took.
    func (m *CelMetrics) ObserveEvaluation(elapsed time.Duration) {
    	seconds := elapsed.Seconds()
    	m.evaluationTime.Observe(seconds)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 09 23:50:48 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

                instant.started3
            }
    
            when:
            def executor = factory.createScheduled('test', 2)
            executor.schedule(action1, 0, TimeUnit.SECONDS)
            executor.schedule(action2, 0, TimeUnit.SECONDS)
            executor.schedule(action3, 0, TimeUnit.SECONDS)
            thread.blockUntil.started3
    
            then:
            instant.started3 > instant.completed1
            instant.started3 > instant.started2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Duration.java

        }
    
        public static Amount<Duration> millis(BigDecimal millis) {
            return Amount.valueOf(millis, MILLI_SECONDS);
        }
    
        public static Amount<Duration> seconds(BigDecimal seconds) {
            return Amount.valueOf(seconds, SECONDS);
        }
    
        public static Amount<Duration> minutes(BigDecimal minutes) {
            return Amount.valueOf(minutes, MINUTES);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_proto.go

    // that matches Time. Do not use in Go structs.
    type Timestamp struct {
    	// Represents seconds of UTC time since Unix epoch
    	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
    	// 9999-12-31T23:59:59Z inclusive.
    	Seconds int64 `json:"seconds" protobuf:"varint,1,opt,name=seconds"`
    	// Non-negative fractions of a second at nanosecond resolution. Negative
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 25 18:54:00 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  7. tests/testdata/envoy_local.json

              }
            },
            "refresh_delay": {
              "seconds": 30,
              "nanos": 0
            }
          }
        },
        "cds_config": {
          "api_config_source": {
            "api_type": "GRPC",
            "grpc_services": {
              "envoy_grpc": {
                "cluster_name": "xds-grpc"
              }
            },
            "refresh_delay": {
              "seconds": 30,
              "nanos": 0
            }
          }
        },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 02:10:15 UTC 2021
    - 9.9K bytes
    - Viewed (0)
  8. pkg/kubelet/metrics/metrics.go

    		},
    	)
    	// PodWorkerDuration is a Histogram that tracks the duration (in seconds) in takes to sync a single pod.
    	// Broken down by the operation type.
    	PodWorkerDuration = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           PodWorkerDurationKey,
    			Help:           "Duration in seconds to sync a single pod. Broken down by operation type: create, update, or sync",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/TimeFormattingTest.groovy

            "None"              | "1 second"          | seconds(0.421345)                   | "421ms"
            "1 second"          | "10 seconds"        | seconds(4.21345)                    | "4s"
            "10 seconds"        | "1 minute"          | seconds(42.1234)                    | "42s"
            "10 seconds"        | "1 minute"          | seconds(60)                         | "1m"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

            "foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class, 0, SECONDS));
      }
    
      public void testGetCheckedTimed_interrupted() {
        SettableFuture<String> future = SettableFuture.create();
        Thread.currentThread().interrupt();
        try {
          getChecked(future, TwoArgConstructorException.class, 0, SECONDS);
          fail();
        } catch (TwoArgConstructorException expected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.4K bytes
    - Viewed (0)
Back to top