Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 502 for timerC (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/compilation_timer_test.cc

    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/time/clock.h"
    #include "absl/time/time.h"
    
    namespace {
    
    TEST(CompilationTimer, MeasuresElapsedTime) {
      uint64_t timer_result_in_milliseconds;
    
      {
        CompilationTimer timer;
    
        absl::SleepFor(absl::Milliseconds(100));
    
        timer_result_in_milliseconds = timer.ElapsedCyclesInMilliseconds();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 04:52:21 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactory.java

                if (out != null) {
                    stats.readFromCache();
                    return out;
                }
                Timer timer = Time.startTimer();
                T value = createIfNotPresent.get();
                stats.readFromDisk(timer.getElapsedMillis());
                cache.put(id, value);
                return value;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/benchmark-utils_test.go

    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		// insert the object.
    		objInfo, err := obj.PutObject(context.Background(), bucket, "object"+strconv.Itoa(i),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.h

      /*** TIMER CALLBACKS ***/
      // Creates SP_Timer. Allocates timer resources on the underlying platform
      // and initializes its internals, setting `timer` output variable. Sets
      // values in `timer_fns` struct.
      void (*create_timer)(const SP_Device* device, SP_Timer* timer,
                           TF_Status* status);
    
      // Destroy timer and deallocates timer resources on the underlying platform.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. pkg/test/loadbalancersim/mesh/mesh.go

    package mesh
    
    import (
    	"fmt"
    	"time"
    
    	"istio.io/istio/pkg/test/loadbalancersim/locality"
    	"istio.io/istio/pkg/test/loadbalancersim/network"
    	"istio.io/istio/pkg/test/loadbalancersim/timer"
    )
    
    type RouteKey struct {
    	Src  locality.Instance
    	Dest locality.Instance
    }
    
    type Settings struct {
    	NetworkLatencies map[RouteKey]time.Duration
    }
    
    type Instance struct {
    	nodes    Nodes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/lockedfile/lockedfile_test.go

    	t.Helper()
    
    	done := make(chan struct{})
    	go func() {
    		f()
    		close(done)
    	}()
    
    	timer := time.NewTimer(quiescent)
    	defer timer.Stop()
    	select {
    	case <-done:
    		t.Fatalf("%s unexpectedly did not block", desc)
    	case <-timer.C:
    	}
    
    	return func(t *testing.T) {
    		logTimer := time.NewTimer(quiescent)
    		defer logTimer.Stop()
    
    		select {
    		case <-logTimer.C:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStep.java

    import org.gradle.internal.snapshot.SnapshotUtil;
    import org.gradle.internal.snapshot.ValueSnapshot;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.time.Duration;
    import java.util.Map;
    import java.util.function.Supplier;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

            this.timeoutMs = timeoutMs;
            this.signal = signal;
            this.slotTime = slotTime;
            restartTimer();
        }
    
        public void restartTimer() {
            timer = Time.startCountdownTimer(timeoutMs);
        }
    
        /**
         * Retries the given query until it returns a 'sucessful' result.
         *
         * @param query which returns non-null value when successful.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/cache/internal/VersionSpecificCacheCleanupAction.java

        public boolean execute(@Nonnull CleanupProgressMonitor progressMonitor) {
            if (requiresCleanup()) {
                Timer timer = Time.startTimer();
                performCleanup(progressMonitor);
                LOGGER.debug("Processed version-specific caches at {} for cleanup in {}", versionSpecificCacheDirectoryScanner.getBaseDir(), timer.getElapsed());
                return true;
            }
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCleanupExecutor.java

    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.time.Duration;
    import java.time.Instant;
    import java.util.Optional;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top