• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

apple dual g4 vs. dual amd

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.
We should make a small collection of custom or downloadable progs he could use to benchmark them.

U could use this if linux was on both machines:

#include <stdio.h>
#include <time.h>
void main() {
time_t nowa;
time(&nowa);
printf("Time: %s", asctime(localtime(&nowa)));
int long number = 1;
while (number < 1000000) {
number++;
printf("Number: %d \n", number);
}
printf("Start Time: %s", asctime(localtime(&nowa)));
time_t nowb;
time(&nowb);
printf("End Time: %s", asctime(localtime(&nowb)));

}

:D
Calcing the numbers isn't hard for it, its just displaying those numbers.
 
Back