MCPcopy Create free account
hub / github.com/devosoft/avida / Inst_IfEventInCell

Method Inst_IfEventInCell

avida-core/source/cpu/cHardwareCPU.cc:6722–6729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6720}
6721
6722bool cHardwareCPU::Inst_IfEventInCell(cAvidaContext&)
6723{
6724 if (m_organism->GetCellData() > 0) {
6725 return true;
6726 }
6727 getIP().Advance();
6728 return true;
6729}
6730
6731// Multi-threading.
6732bool cHardwareCPU::Inst_ForkThread(cAvidaContext&)

Callers

nothing calls this directly

Calls 2

GetCellDataMethod · 0.45
AdvanceMethod · 0.45

Tested by

no test coverage detected