Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetMachineState (0.48 sec)

  1. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    	assert.NoError(t, err, "could not create testing checkpointState instance")
    
    	// set values of cs1 instance so they are stored in checkpoint and can be read by cs2
    	cs1.SetMachineState(expectedState.machineState)
    	cs1.SetMemoryAssignments(expectedState.assignments)
    
    	// restore checkpoint with previously stored values
    	cs2, err := NewCheckpointState(testingDir, testingCheckpoint, "static")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/policy_static.go

    		}
    
    		// Update nodes memory state
    		p.updateMachineState(machineState, maskBits, resourceName, requestedSize)
    	}
    
    	p.updatePodReusableMemory(pod, container, containerBlocks)
    
    	s.SetMachineState(machineState)
    	s.SetMemoryBlocks(podUID, container.Name, containerBlocks)
    
    	// update init containers memory blocks to reflect the fact that we re-used init containers memory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
Back to top