#include <stdio.h>      /* standard I/O                */
#include <string.h>     /* for strcpy - 3 occurrences  */
#include <stdlib.h>     /* for exit   - 1 occurrence   */

double lscomp,comp1;

int Compile1()
{
	gettimeofday(&starttime, NULL);
	for(i=0; i<200; i++) {
	system("compiledir/compile.sh");
	}
        gettimeofday(&endtime, NULL);
        te0=((double)(endtime.tv_sec*1000000-starttime.tv_sec*1000000+endtime.tv_usec-starttime.tv_usec))/1000000;
        comp1 = 200 * 2 / te0;
	printf("\n\tTest #1:\t200 Compiles of lsbench: %lf/s\n", comp1);
return comp1;
}

