Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Inits (0.04 sec)

  1. src/internal/coverage/cformat/format.go

    		pkgs = append(pkgs, importpath)
    	}
    	slices.Sort(pkgs)
    	for _, importpath := range pkgs {
    		p := fm.pm[importpath]
    		units := make([]extcu, 0, len(p.unitTable))
    		for u := range p.unitTable {
    			units = append(units, u)
    		}
    		p.sortUnits(units)
    		for _, u := range units {
    			count := p.unitTable[u]
    			file := p.funcs[u.fnfid].file
    			if _, err := fmt.Fprintf(w, "%s:%d.%d,%d.%d %d %d\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    type Unit struct {
    	CanonicalName string
    	aliases       []string
    	Factor        float64
    }
    
    // UnitType includes a list of units that are within the same category (i.e.
    // memory or time units) and a default unit to use for this type of unit.
    type UnitType struct {
    	DefaultUnit Unit
    	Units       []Unit
    }
    
    // findByAlias returns the unit associated with the specified alias. It returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

          StringRef name_loc_id = mlir::cast<NameLoc>(callee).getName().strref();
          set_node_and_func_name(new_unit, name_loc_id);
        }
        units.push_back(new_unit);
      } else {
        for (Location child_loc : locations) {
          FindQuantizationUnitsRecursively(child_loc, units);
        }
      }
    }
    
    // Finds the QuantizationUnit from location.
    std::optional<QuantizationUnit> FindQuantizationUnit(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/runtime/tracetime.go

    }
    
    // traceClockUnitsPerSecond estimates the number of trace clock units per
    // second that elapse.
    func traceClockUnitsPerSecond() uint64 {
    	if osHasLowResClock {
    		// We're using cputicks as our clock, so we need a real estimate.
    		return uint64(ticksPerSecond() / traceTimeDiv)
    	}
    	// Our clock is nanotime, so it's just the constant time division.
    	// (trace clock units / nanoseconds) * (1e9 nanoseconds / 1 second)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    inline void TrimTrailingWhitespaces(std::string& str) {
      while (!str.empty() && str.back() == ' ') {
        str.pop_back();
      }
    }
    
    // Lifts quantizable units as separate functions, thereby identifying the
    // boundaries of quantizable subgraphs. `QuantizationSpecs` influences how
    // quantizable units are lifted.
    //
    // FileCheck test cases using various `QuantizationSpecs` can be seen at
    // `TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/testsupport.go

    				return fmt.Errorf("reading meta-data file %s: %v",
    					p.MetaFile, err)
    			}
    			key := pkfunc{pk: pkIdx, fcn: fnIdx}
    			counters, haveCounters := pmm[key]
    			for i := 0; i < len(fd.Units); i++ {
    				u := fd.Units[i]
    				// Skip units with non-zero parent (no way to represent
    				// these in the existing format).
    				if u.Parent != 0 {
    					continue
    				}
    				count := uint32(0)
    				if haveCounters {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.h

    namespace mlir::quant::stablehlo {
    
    // A `PassInstrumentation` that saves quantization report to file after
    // `QuantizeCompositeFunctionsPass` is run. It inspects the `ModuleOp` after
    // quantization and analyzes the quantizable units and quantization methods
    // used. The report file will be saved at the `file_path`. The report file
    // contains textproto of `QuantizationResults`. `file_path`'s base directories
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//   Option a: Set HostConfig.CpuPercent. The units are whole percent of the total CPU capacity of the system, meaning the resolution
    		//      is different based on the number of cores.
    		//   Option b: Set HostConfig.NanoCpus integer <int64> - CPU quota in units of 10e-9 CPUs. Moby scales this to the Windows job object
    		//      resolution of 1-10000, so it's higher resolution than option a.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-plugin-performance/src/testFixtures/groovy/org/gradle/performance/AbstractBuildScanPluginPerformanceTest.groovy

            baselineResults.results.addAll(rawResults.collect {
                new MeasuredOperation([totalTime: Amount.valueOf(it.totalTime.value + shift, it.totalTime.units), exception: it.exception])
            })
            return baselineResults
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc

        return WalkResult::advance();
      });
    }
    
    // Populates non-quantized ops from `module_op` to `results`. After going
    // through the quantization passes, non-quantized quantizable units remain as
    // `TF::XlaCallModuleOp` with a callee's prefix of `composite_`.
    void PopulateNonQuantizedResults(ModuleOp module_op,
                                     QuantizationResults& results) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top