Thread cpu_time #8

Open
opened 2023-02-19 16:56:05 +00:00 by antifallobst · 0 comments
antifallobst commented 2023-02-19 16:56:05 +00:00 (Migrated from codeberg.org)

Currently a threads cpu_time value contains the number of context switches the thread had. This is not very useful and probably a bit confusing.

Change this variable to a double and give it the amount of time the thread had.
This needs a more implementation for the PIT.

In cosmos this was already implemented, so a look at the repo could help.

Currently a threads `cpu_time` value contains the number of context switches the thread had. This is not very useful and probably a bit confusing. Change this variable to a double and give it the amount of time the thread had. This needs a more implementation for the **PIT**. In [cosmos](https://codeberg.org/cosmos/kernel) this was already implemented, so a look at the repo could help.
Sign in to join this conversation.
No description provided.