spz3/Process.cpp

10 lines
248 B
C++

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