github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/timer/init.go (about) 1 /* For license and copyright information please see the LEGAL file in the code repository */ 2 3 package timer 4 5 import ( 6 "runtime" 7 ) 8 9 var poolByCores = make([]TimingHeap, runtime.NumCPU()) 10 11 func init() { 12 // var coreNumbers = runtime.GOMAXPROCS(0) 13 // TODO::: 14 }