The following program shows how to calculate the time taken to execute a program. The program is implemented using c. Here <time.h> header file is included.
printf("Time taken : %lfn",(double)(end-begin)/CLOCKS_PER_SEC);
Latest posts by Bikash Panda (see all)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017