Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for userLog (0.34 sec)

  1. src/internal/trace/testdata/tests/go122-annotations-stress.test

    UserLog dt=7 task=12 key_string=24 value_string=67 stack=27
    UserRegionEnd dt=2 task=12 name_string=35 stack=28
    GoDestroy dt=1
    GoStart dt=2 g=7 g_seq=1
    UserRegionBegin dt=13 task=12 name_string=31 stack=26
    UserLog dt=5 task=12 key_string=24 value_string=68 stack=27
    UserLog dt=6 task=12 key_string=24 value_string=69 stack=30
    UserTaskBegin dt=5 task=13 parent_task=12 name_string=26 stack=31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  2. src/runtime/trace/annotation.go

    	id := fromContext(ctx).id
    	userLog(id, category, message)
    }
    
    // Logf is like [Log], but the value is formatted using the specified format spec.
    func Logf(ctx context.Context, category, format string, args ...any) {
    	if IsEnabled() {
    		// Ideally this should be just Log, but that will
    		// add one more frame in the stack trace.
    		id := fromContext(ctx).id
    		userLog(id, category, fmt.Sprintf(format, args...))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/internal/trace/event/go122/event.go

    		StartEv:      EvUserRegionBegin,
    		IsTimedEvent: true,
    		StackIDs:     []int{3},
    		StringIDs:    []int{2},
    	},
    	EvUserLog: event.Spec{
    		Name:         "UserLog",
    		Args:         []string{"dt", "task", "key_string", "value_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{4},
    		StringIDs:    []int{2, 3},
    	},
    	EvGoSwitch: event.Spec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-annotations.test

    GoBlock dt=249 reason_string=10 stack=14
    GoStart dt=8 g=9 g_seq=1
    UserRegionBegin dt=286 task=1 name_string=24 stack=15
    UserRegionBegin dt=244 task=1 name_string=25 stack=16
    UserRegionBegin dt=6 task=1 name_string=26 stack=17
    UserLog dt=6 task=1 key_string=27 value_string=28 stack=18
    UserRegionEnd dt=4 task=1 name_string=26 stack=19
    UserRegionEnd dt=315 task=1 name_string=25 stack=20
    UserTaskEnd dt=5 task=1 stack=21
    GoUnblock dt=11 g=1 g_seq=1 stack=22
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/internal/trace/oldtrace.go

    	var max uint64
    	for id, s := range pr.Strings {
    		evt.strings.insert(stringID(id), s)
    		if id > max {
    			max = id
    		}
    	}
    	pr.Strings = nil
    
    	// Add all strings used for UserLog. In the old trace format, these were
    	// stored inline and didn't have IDs. We generate IDs for them.
    	if max+uint64(len(pr.InlineStrings)) < max {
    		return errors.New("trace contains too many strings")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    	traceRelease(tl)
    }
    
    // trace_userTaskEnd emits a UserRegionBegin or UserRegionEnd event.
    //
    //go:linkname trace_userLog runtime/trace.userLog
    func trace_userLog(id uint64, category, message string) {
    	tl := traceAcquire()
    	if !tl.ok() {
    		// Need to do this check because the caller won't have it.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/internal/trace/internal/oldtrace/parser.go

    	EvUserTaskEnd:       {"UserTaskEnd", 11, true, []string{"taskid"}, nil},
    	EvUserRegion:        {"UserRegion", 11, true, []string{"taskid", "mode", "typeid"}, []string{"name"}},
    	EvUserLog:           {"UserLog", 11, true, []string{"id", "keyid"}, []string{"category", "message"}},
    	EvCPUSample:         {"CPUSample", 19, true, []string{"ts", "p", "g"}, nil},
    }
    
    //gcassert:inline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

        // Skip the original dequant op and connect the op before dequantize to the
        // user op.
        user_op->setOperand(user_idx, op_before_dequantize);
    
        // Wire input/output nodes.
        new_dequantize_op->setOperand(0, user_op->getResult(0));
        new_dequantize_op->getResult(0).setType(user_op->getResult(0).getType());
        user_op->getResult(0).replaceAllUsesExcept(new_dequantize_op->getResult(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        Operation* user_op, int argument_index, ElementsAttr value,
        llvm::SmallVector<std::pair<Region*, int>, 4>* work_list,
        llvm::MapVector<Operation*, llvm::SmallVector<unsigned int, 4>>*
            arguments_to_erase) {
      if (auto read_variable_op = dyn_cast<TF::ReadVariableOp>(user_op)) {
        (*arguments_to_erase)[read_variable_op];
        PropagateUsage(read_variable_op, value);
      } else if (auto call = dyn_cast<CallOpInterface>(user_op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc

        bool all_uses_replaced = true;
    
        for (mlir::OpOperand &use :
             llvm::make_early_inc_range(op.getResult().getUses())) {
          mlir::Operation *user_op = use.getOwner();
          StringAttr device_attr = user_op->getAttrOfType<StringAttr>(kDeviceAttr);
          if (!device_attr) {
            all_uses_replaced = false;
            continue;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top