I just found out that there is this code in C/C++ to test the speed of your code.
struct timeb timef; ftime (&timef); long startTime = timef.time * 1000 + timef.millitm; // Start clock
ftime (&timef); long endTime = timef.time * 1000 + timef.millitm; printf("Time: %d ms",endTime-startTime); // End clock
I was thinking, is there something like this for ASM so that a person can see how efficient their code is?
Do you guys think it would be cool to have this?
-Final
struct timeb timef; ftime (&timef); long startTime = timef.time * 1000 + timef.millitm; // Start clock
ftime (&timef); long endTime = timef.time * 1000 + timef.millitm; printf("Time: %d ms",endTime-startTime); // End clock
I was thinking, is there something like this for ASM so that a person can see how efficient their code is?
Do you guys think it would be cool to have this?
-Final