- Added editing features to History.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@934 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
7756a56b25
commit
8c8ce4c818
15 changed files with 252 additions and 3 deletions
|
@ -55,12 +55,29 @@ StaticThread::get_total_cpu_time() const
|
|||
return _required_cpu_time;
|
||||
}
|
||||
|
||||
unsigned int
|
||||
StaticThread::set_total_cpu_time(unsigned int cpu_time)
|
||||
{
|
||||
unsigned int old_required_cpu_time = _required_cpu_time;
|
||||
_required_cpu_time = cpu_time;
|
||||
return old_required_cpu_time;
|
||||
}
|
||||
|
||||
unsigned int
|
||||
StaticThread::get_arrival_time() const
|
||||
{
|
||||
return _start_time_delta;
|
||||
}
|
||||
|
||||
unsigned int
|
||||
StaticThread::set_arrival_time(unsigned int arrival_time)
|
||||
{
|
||||
unsigned int old_start_time_delta = _start_time_delta;
|
||||
_start_time_delta = arrival_time;
|
||||
return old_start_time_delta;
|
||||
}
|
||||
|
||||
|
||||
StaticProcess&
|
||||
StaticThread::get_process()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue