Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for stack_frame (0.28 sec)

  1. src/internal/trace/trace_test.go

    			if ev.Kind() == trace.EventStackSample {
    				totalTraceSamples++
    				if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() {
    					traceSamples++
    					var fns []string
    					ev.Stack().Frames(func(frame trace.StackFrame) bool {
    						if frame.Func != "runtime.goexit" {
    							fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line))
    						}
    						return true
    					})
    					stack := strings.Join(fns, "|")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/internal/trace/summary.go

    			// goroutine, because it represents its immutable start point.
    			if g.Name == "" {
    				stk := st.Stack
    				if stk != NoStack {
    					var frame StackFrame
    					var ok bool
    					stk.Frames(func(f StackFrame) bool {
    						frame = f
    						ok = true
    						return true
    					})
    					if ok {
    						// NB: this PC won't actually be consistent for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/internal/trace/testtrace/validation.go

    		return s
    	}
    	return s
    }
    
    func checkStack(e *errAccumulator, stk trace.Stack) {
    	// Check for non-empty values, but we also check for crashes due to incorrect validation.
    	i := 0
    	stk.Frames(func(f trace.StackFrame) bool {
    		if i == 0 {
    			// Allow for one fully zero stack.
    			//
    			// TODO(mknyszek): Investigate why that happens.
    			return true
    		}
    		if f.Func == "" || f.File == "" || f.PC == 0 || f.Line == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        } else if (stack_traces_.contains(debug_info_key)) {
          stack_trace = stack_traces_.at(debug_info_key);
        } else {
          DVLOG(1) << "No stack trace for " << node.name();
        }
    
        llvm::SmallVector<mlir::Location, 4> locations;
    
        if (stack_trace != nullptr) {
          DVLOG(1) << "Stack available for " << node.name();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

      %2 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      %3 = "tf.Const"() {value = dense<2> : tensor<i32>} : () -> tensor<i32>
      %4 = "tf.StackV2"(%3) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
      %5:5 = "tfl.while"(%2, %3, %2, %4, %0) ({
      ^bb0(%arg1: tensor<i32>, %arg2: tensor<i32>, %arg3: tensor<i32>, %arg4: tensor<!tf_type.resource>, %arg5: tensor<f32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

    func.func @ignore_stack_ops(%arg0: tensor<i32>) -> () {
      "tf_device.cluster"() ({
        // CHECK: "tf.StackV2"
        // CHECK-NOT: _xla_outside_compilation
        %0 = "tf.StackV2"(%arg0) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource>
        tf_device.return
      }) {allow_soft_placement = true, num_cores_per_replica = 1, topology =  "", device_assignment =  []} : () -> ()
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug.go

    		}
    		state.varParts[topSlot.N] = append(state.varParts[topSlot.N], SlotID(i))
    	}
    
    	// Recreate the LocalSlot for each stack-only variable.
    	// This would probably be better as an output from stackframe.
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Op == OpVarDef {
    				n := v.Aux.(*ir.Name)
    				if ir.IsSynthetic(n) {
    					continue
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		s.vars[memVar] = s.newValue1Apos(ssa.OpVarLive, types.TypeMem, deferBitsTemp, s.mem(), false)
    	}
    
    	var params *abi.ABIParamResultInfo
    	params = s.f.ABISelf.ABIAnalyze(fn.Type(), true)
    
    	// The backend's stackframe pass prunes away entries from the fn's
    	// Dcl list, including PARAMOUT nodes that correspond to output
    	// params passed in registers. Walk the Dcl list and capture these
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        Arg<TF_Int32Tensor, [{The maximum size of the stack if non-negative. If negative, the stack
    size is unlimited.}]>:$max_size,
    
        TypeAttr:$elem_type,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$stack_name
      );
    
      let results = (outs
        Res<TF_ResourceTensor, [{The handle to the stack.}], [TF_StackAlloc]>:$handle
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top