Question d’entretien chez NVIDIA

what’s wrong with this ISR function? __interrupt double compute_area(double radius) { { double area = PI * radius * radius; printf(“\nArea = %f”, area); return area; }

Réponse à la question d'entretien

Utilisateur anonyme

22 mars 2017

For starters it has a printf which is very time consuming system call for a process.