bot_scaling: Change cores_per_bot to support float

On shared core bots this value can be a percentage of a core, not a full
integer, therefore we need to support float.  This is the same as
memory, in which we can expect values that are not ints.

This is only used in calculations today, and we're only populating it with ints now, so this should be transparent.

Bug: chromium:1090544
Change-Id: I1c950768a41e61ab15ce7efa0cffc2be73124619
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2238747
Reviewed-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Mike Nichols <mikenichols@chromium.org>
Tested-by: Mike Nichols <mikenichols@chromium.org>
2 files changed