Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for RecordEvent (0.13 sec)

  1. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    	wait.JitterUntil(func() {
    		succeeded = le.tryAcquireOrRenew(ctx)
    		le.maybeReportTransition()
    		if !succeeded {
    			klog.V(4).Infof("failed to acquire lease %v", desc)
    			return
    		}
    		le.config.Lock.RecordEvent("became leader")
    		le.metrics.leaderOn(le.config.Name)
    		klog.Infof("successfully acquired lease %v", desc)
    		cancel()
    	}, le.config.RetryPeriod, JitterFactor, true, ctx.Done())
    	return succeeded
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    	kl.recorder.Eventf(kl.nodeRef, eventType, event, "Node %s status is now: %s", kl.nodeName, event)
    }
    
    // recordEvent records an event for this node, the Kubelet's nodeRef is passed to the recorder
    func (kl *Kubelet) recordEvent(eventType, event, message string) {
    	kl.recorder.Eventf(kl.nodeRef, eventType, event, message)
    }
    
    // record if node schedulable change.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_context.cc

        if (UseMultipleStreams()) {
          TF_ASSIGN_OR_RETURN(std::shared_ptr<se::Event> event,
                              stream_->parent()->CreateEvent());
          TF_RETURN_IF_ERROR(host_to_device_stream_->RecordEvent(event.get()));
          xla_tensor->ResetDefinitionEvent(std::move(event),
                                           host_to_device_stream_.get());
        }
    
        return absl::OkStatus();
      }();
      if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_tpu_device.cc

        }
    
        TF_ASSIGN_OR_RETURN(std::shared_ptr<se::Event> definition_event,
                            dst_xla_context->stream()->parent()->CreateEvent());
        TF_RETURN_IF_ERROR(
            dst_device_to_device_stream->RecordEvent(definition_event.get()));
        xla_output->ResetDefinitionEvent(std::move(definition_event),
                                         dst_device_to_device_stream);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      TF_ASSERT_OK_AND_ASSIGN(auto event, executor->CreateEvent());
      TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream());
      ASSERT_FALSE(record_called);
      TF_ASSERT_OK(stream->RecordEvent(event.get()));
      ASSERT_TRUE(record_called);
      ASSERT_FALSE(wait_called);
      TF_ASSERT_OK(stream->WaitFor(event.get()));
      ASSERT_TRUE(wait_called);
    }
    
    TEST_F(StreamExecutorTest, MemcpyToHost) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. pkg/kubelet/nodestatus/setters.go

    	nodeAllocatableReservationFunc func() v1.ResourceList, // typically Kubelet.containerManager.GetNodeAllocatableReservation
    	recordEventFunc func(eventType, event, message string), // typically Kubelet.recordEvent
    	localStorageCapacityIsolation bool,
    ) Setter {
    	return func(ctx context.Context, node *v1.Node) error {
    		// Note: avoid blindly overwriting the capacity in case opaque
    		//       resources are being advertised.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

      }
    
      std::shared_ptr<se::Event> definition_event;
      if (use_multiple_streams_ && stream) {
        TF_ASSIGN_OR_RETURN(definition_event, stream->parent()->CreateEvent());
        TF_RETURN_IF_ERROR(stream->RecordEvent(definition_event.get()));
      }
    
      for (const XlaOutputDescription& descr : compilation_result->outputs) {
        if (descr.type == DT_VARIANT) {
          return errors::Unimplemented(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
Back to top