api_donpedro - better cpu cores detection