pub fn budget(platform: Platform, resources: HostResources) -> Budget
Compute the resource budget for a host.