HackerExperience / Helix

GNU Affero General Public License v3.0
53 stars 10 forks source link

Add time as a resource of TOP (Resources.Time) #364

Open renatomassaro opened 6 years ago

renatomassaro commented 6 years ago

time is a valid resource for processes, just like CPU, DLK, ULK etc. However it has a fixed rate of 1 resource unit per second, and this cannot be changed (unless you have a flux capacitor).

Useful e.g. for BankTransferProcess, which needs to take some time but does not consume hardware resources.