Use cpu cycle counter to initialize srand