autobind, find number of cores, and print frequency for 1 thread and ncore threads