added function to return pool size

This commit is contained in:
swdee
2025-07-07 15:28:29 +12:00
parent 68af76e39b
commit 7e53a80fbb

View File

@@ -109,6 +109,11 @@ func (p *Pool) SetWantFloat(val bool) {
}
}
// Size returns the Pool size
func (p *Pool) Size() int {
return p.size
}
// getRuntimeCore takes an integer and returns the core mask value to use from
// the coremask list
func getRuntimeCore(i int, cores []CoreMask) CoreMask {