Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 810 for timings (0.14 sec)

  1. src/cmd/compile/internal/base/timings.go

    package base
    
    import (
    	"fmt"
    	"io"
    	"strings"
    	"time"
    )
    
    var Timer Timings
    
    // Timings collects the execution times of labeled phases
    // which are added through a sequence of Start/Stop calls.
    // Events may be associated with each phase via AddEvent.
    type Timings struct {
    	list   []timestamp
    	events map[int][]*event // lazily allocated
    }
    
    type timestamp struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

          VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
                  << (*graph)->num_edges();
          timings.Reset({kTfMlirCategory, name.str()});
          pass_status = pass_registration.pass->Run(
              function_name, config_proto, *module_ref, **graph, *flib_def);
          timings.ReportAndStop();
          if (pass_status.ok()) {
            VLOG(2) << "Finished MLIR graph optimization pass: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      private abstract static class DelayedActionRunnable implements Runnable {
        private final long tMinus;
    
        protected DelayedActionRunnable(long tMinus) {
          this.tMinus = tMinus;
        }
    
        @Override
        public final void run() {
          try {
            Thread.sleep(tMinus);
          } catch (InterruptedException e) {
            throw new AssertionError(e);
          }
          doAction();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      private abstract static class DelayedActionRunnable implements Runnable {
        private final long tMinus;
    
        protected DelayedActionRunnable(long tMinus) {
          this.tMinus = tMinus;
        }
    
        @Override
        public final void run() {
          try {
            Thread.sleep(tMinus);
          } catch (InterruptedException e) {
            throw new AssertionError(e);
          }
          doAction();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 30.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go

    		})
    	}
    }
    
    // Test_loopConditionUntilContext_timings runs actual timing loops and calculates the delta. This
    // test depends on high precision wakeups which depends on low CPU contention so it is not a
    // candidate to run during normal unit test execution (nor is it a benchmark or example). Instead,
    // it can be run manually if there is a scenario where we suspect the timings are off and other
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 02:48:08 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. src/os/os_test.go

    	_, err = Stat(path)
    	assertPathError(t, path, err)
    }
    
    // Use TempDir (via newFile) to make sure we're on a local file system,
    // so that timings are not distorted by latency and caching.
    // On NFS, timings can be off due to caching of meta-data on
    // NFS servers (Issue 848).
    func TestChtimes(t *testing.T) {
    	t.Parallel()
    
    	f := newFile("TestChtimes", t)
    	defer Remove(f.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  7. src/go/doc/testdata/benchmark.go

    // timing and to specify the number of iterations to run.
    type B struct {
    	common
    	N         int
    	benchmark InternalBenchmark
    	bytes     int64
    	timerOn   bool
    	result    BenchmarkResult
    }
    
    // StartTimer starts timing a test. This function is called automatically
    // before a benchmark starts, but it can also used to resume timing after
    // a call to StopTimer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

                  @Model
                  void things(ModelMap<Thing> things) {
                  }
                }
    
                apply type: Rules
    
                model {
                  tasks {
                    create("print") {
                      doLast {
                        def things = $.things
                        println "name: $things.name"
                        println "display-name: $things.displayName"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

    model {
        tasks {
            show(Task) {
                doLast {
                    println "value = " + $.things.test.value
                }
            }
        }
        things {
            main(Thing)
            test(Thing) {
                println "configure test"
                value = $.things.main.value
            }
        }
        things {
            main {
                println "configure main"
                value = "12"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/TimeLimiter.java

      default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) {
        return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top