Branch: Tag:

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2016-03-02

2016-03-02 13:19:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Fixed some bugs from inheriting ADT.Heap.Element.

Use ADT.Heap()->low_peek() to avoid losing track of the Consumer objects.

The testsuite tests for ADT.Scheduler should now pass again.

2016-02-17

2016-02-17 12:44:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Use ADT.Heap()->peek() instead of Heap internals.

2015-10-15

2015-10-15 09:58:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: API fix mk II.

ADT.Scheduler()->get() now works as documented and intended again.

Reverts the testsuite changes from c2535027a79c958d5355686026e12ff78007b598.

2015-10-14

2015-10-14 20:45:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.TreeScheduler: Updated to new Heap API.

2015-09-04

2015-09-04 14:25:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Reduce strictness in add().

Keeping track of whether a Consumer has been added or not can be
complicated in user code, so let's allow a double add() and have
it be a noop.

2015-08-18

2015-08-18 13:09:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Use ADT.Heap()->remove().

There's no need to perform the remove()-operation by hand anymore.

2015-08-12

2015-08-12 15:50:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Keep Consumer()->offset up to date.

This simplifies code that needs to check the priority of
potentially inactive consumers.

2015-08-12 15:47:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Keep the priority quanta in a variable.

This is to support caching of more complicated quanta calculations.

2015-08-12 15:43:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Increased the priority normalization theshold to 256.

This is to support weights normalized to the range [0,1].

2015-08-11

2015-08-11 14:19:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: LFUNs should typically be protected.

2015-08-11 14:19:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: Bugfix.

2015-08-10

2015-08-10 13:09:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Scheduler: First version.

This is a data type intended to be used to distribute quanta of
a resource fairly among a set of prioritized consumers.