Leverage HAL’s metric scheduler implementation

With this PR the subsystem uses the scheduler from https://github.com/heiko-braun/metric-scheduler