spz3/Process.cpp

10 lines
262 B
C++

#include "Process.h"
Process::Process(PageTable *pageTable, const unsigned int executionTime)
: pageTable(pageTable), executionTime(executionTime) {
}
bool Process::is_finished(const unsigned int elapsedTime) const {
return elapsedTime >= executionTime;
}