MCPcopy Create free account
hub / github.com/djhworld/simple-computer / runUpdateOn

Function runUpdateOn

cpu/cpu.go:940–942  ·  view source on GitHub ↗
(component Updatable)

Source from the content-addressed store, hash-verified

938}
939
940func runUpdateOn(component Updatable) {
941 component.Update()
942}
943
944func updateEnableStatus(component Enableable, state bool) {
945 if state {

Callers 3

NewCPUFunction · 0.85
SetIARMethod · 0.85
updateStatesMethod · 0.85

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected