10 lines
242 B
C++
10 lines
242 B
C++
|
#include "Process.h"
|
||
|
|
||
|
Process::Process(PageTable *pageTable, const unsigned int executionTime)
|
||
|
: pageTable(pageTable), executionTime(executionTime), elapsedTime(0) {
|
||
|
}
|
||
|
|
||
|
bool Process::is_finished() {
|
||
|
return elapsedTime >= executionTime;
|
||
|
}
|