|
#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;
|
|
}
|