Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for checkpoint2 (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                @groovy.transform.CompileStatic
                def checkpoint3() {
                    def startAt = System.nanoTime()
                    while (System.nanoTime() - startAt < 1_000_000_000) {}
                }
    
                task block() {
                    doLast {
                        checkpoint1()
                        checkpoint2()
                        checkpoint3()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    		assert.Equal(t, actualPortMappings, expPortMappings)
    		assert.Equal(t, actualHostNetwork, expHostNetwork)
    	}
    	// Test it fails if tried to read V1 structure into V2, a different structure from the structure which is checkpointed
    	checkpointV2 := newFakeCheckpointV2("", nil, false)
    	err = manager.GetCheckpoint("key1", checkpointV2)
    	assert.EqualError(t, err, "checkpoint is corrupted")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/state/state_checkpoint.go

    	klog.V(2).InfoS("State checkpoint: restored state from checkpoint")
    	klog.V(2).InfoS("State checkpoint: defaultCPUSet", "defaultCpuSet", tmpDefaultCPUSet.String())
    
    	return nil
    }
    
    // saves state to a checkpoint, caller is responsible for locking
    func (sc *stateCheckpoint) storeState() error {
    	checkpoint := NewCPUManagerCheckpoint()
    	checkpoint.PolicyName = sc.policyName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/state/checkpoint.go

    	"encoding/json"
    
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager/checksum"
    )
    
    var _ checkpointmanager.Checkpoint = &MemoryManagerCheckpoint{}
    
    // MemoryManagerCheckpoint struct is used to store memory/pod assignments in a checkpoint
    type MemoryManagerCheckpoint struct {
    	PolicyName   string                     `json:"policyName"`
    	MachineState NUMANodeMap                `json:"machineState"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/state/checkpoint.go

    }
    
    // List of claim info to store in checkpoint
    type ClaimInfoStateList []ClaimInfoState
    
    // List of claim info to store in checkpoint
    // TODO: remove in Beta
    type ClaimInfoStateListWithoutResourceHandles []ClaimInfoStateWithoutResourceHandles
    
    // NewDRAManagerCheckpoint returns an instance of Checkpoint
    func NewDRAManagerCheckpoint() *DRAManagerCheckpoint {
    	return &DRAManagerCheckpoint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. pkg/kubelet/status/state/checkpoint.go

    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager/checksum"
    )
    
    var _ checkpointmanager.Checkpoint = &PodResourceAllocationCheckpoint{}
    
    // PodResourceAllocationCheckpoint is used to store resources allocated to a pod in checkpoint
    type PodResourceAllocationCheckpoint struct {
    	AllocationEntries   map[string]map[string]v1.ResourceList `json:"allocationEntries,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/state/checkpoint.go

    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager/errors"
    )
    
    var _ checkpointmanager.Checkpoint = &CPUManagerCheckpointV1{}
    var _ checkpointmanager.Checkpoint = &CPUManagerCheckpointV2{}
    var _ checkpointmanager.Checkpoint = &CPUManagerCheckpoint{}
    
    // CPUManagerCheckpoint struct is used to store cpu/pod assignments in a checkpoint in v2 format
    type CPUManagerCheckpoint struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go

    }
    
    // checkpointData struct is used to store pod to device allocation information
    // in a checkpoint file.
    // TODO: add version control when we need to change checkpoint format.
    type checkpointData struct {
    	PodDeviceEntries  []PodDevicesEntry
    	RegisteredDevices map[string][]string
    }
    
    // Data holds checkpoint data and its checksum
    type Data struct {
    	Data     checkpointData
    	Checksum checksum.Checksum
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. pkg/kubelet/checkpointmanager/checkpoint_manager.go

    	// For file backed utilstore, checkpointKey is the file name to write the checkpoint data.
    	CreateCheckpoint(checkpointKey string, checkpoint Checkpoint) error
    	// GetCheckpoint retrieves checkpoint from CheckpointStore.
    	GetCheckpoint(checkpointKey string, checkpoint Checkpoint) error
    	// WARNING: RemoveCheckpoint will not return error if checkpoint does not exist.
    	RemoveCheckpoint(checkpointKey string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 24 13:51:34 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy

    /**
     * Models an expected series of state checkpoints (which may have attached actions).
     * <p>
     * This works by watching a daemon registry in a background thread, recording each state change.
     * As the state changes, it is tested against the next checkpoint. If the state of the checkpoint matches,
     * then the process repeats with the next checkpoint (until all checkpoints are passed).
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top