#include "time.h"
int main(void)
{
clock_t before;
double result;
before = clock();
// some code
result = (double)(clock() - before) / CLOCKS_PER_SEC;
}
int main(void)
{
clock_t before;
double result;
before = clock();
// some code
result = (double)(clock() - before) / CLOCKS_PER_SEC;
}