Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for benchmarkName (0.21 sec)

  1. src/testing/benchmark.go

    func (r BenchmarkResult) MemString() string {
    	return fmt.Sprintf("%8d B/op\t%8d allocs/op",
    		r.AllocedBytesPerOp(), r.AllocsPerOp())
    }
    
    // benchmarkName returns full name of benchmark including procs suffix.
    func benchmarkName(name string, n int) string {
    	if n != 1 {
    		return fmt.Sprintf("%s-%d", name, n)
    	}
    	return name
    }
    
    type benchContext struct {
    	match *matcher
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tfcompile.bzl

            )
    
        if gen_benchmark:
            benchmark_name = name + "_benchmark"
            benchmark_file = benchmark_name + ".cc"
            benchmark_main = ("//tensorflow/compiler/aot:" +
                              "benchmark_main.template")
    
            # Rule to rewrite benchmark.cc to produce the benchmark_file.
            native.genrule(
                name = ("gen_" + benchmark_name),
                srcs = [
                    benchmark_main,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top