pin scheduling