tiemval struct and CPU affinity usage