[llvm-commits] [test-suite] r59813 - /test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c
Duraid Madina
duraid at octopus.com.au
Fri Nov 21 04:57:13 PST 2008
Author: duraid
Date: Fri Nov 21 06:57:11 2008
New Revision: 59813
URL: http://llvm.org/viewvc/llvm-project?rev=59813&view=rev
Log:
fix this test up
Modified:
test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c
Modified: test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c?rev=59813&r1=59812&r2=59813&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/ASC_Sequoia/IRSmk/main.c Fri Nov 21 06:57:11 2008
@@ -38,7 +38,6 @@
clock_t t0_cpu = 0,
t1_cpu = 0;
- double del_wtime = 0.0;
double *x;
double *b;
@@ -57,20 +56,14 @@
init(domain_ptr, rblk_ptr, x, b);
- gettimeofday(&t0, ((void *)0));
- t0_cpu = clock();
for (i=0; i<noIter; ++i) {
rmatmult3(domain_ptr, rblk_ptr, x, b);
}
- gettimeofday(&t1, ((void *)0));
- t1_cpu = clock();
printf("***** results \n");
for (i=0; i<i_ub; i+=i_ub/5) {
printf("i = %10d b[i] = %e \n", i, b[i]);
}
- del_wtime = (double)(t1.tv_sec - t0.tv_sec) +
- (double)(t1.tv_usec - t0.tv_usec)/1000000.0;
-
+ return(0);
}
More information about the llvm-commits
mailing list