- Timestamp:
- 08/29/07 18:16:52 (1 year ago)
- Files:
-
- 1 modified
-
tests/test-ftrsm.C (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/test-ftrsm.C
r38 r43 62 62 } 63 63 64 Timer t im,t; t.clear();tim.clear();65 64 Timer t; t.clear(); 65 double time=0.0; 66 66 //write_field(F, cerr<<"A="<<endl, A, k,k,k); 67 67 … … 71 71 FFLAS::ftrsm (F, side, uplo, trans, diag, m, n, alpha, A, k, B, n); 72 72 t.stop(); 73 tim +=t;73 time+=t.usertime(); 74 74 if (i+1<nbit) 75 75 for (int i=0; i<m*n;++i) … … 131 131 delete[] B2; 132 132 #if TIME 133 double mflops = m*n/1000000.0*nbit*n/tim .usertime();133 double mflops = m*n/1000000.0*nbit*n/time; 134 134 cerr<<"m,n = "<<m<<" "<<n<<". ftrsm " 135 135 <<((side == FFLAS::FflasLeft)?" Left ":" Right ") … … 140 140 <<endl 141 141 <<"t= " 142 << tim .usertime()/nbit142 << time/nbit 143 143 << " s, Mffops = "<<mflops 144 144 << endl; 145 145 146 cout<<m<<" "<<n<<" "<<mflops<<" "<<tim .usertime()/nbit<<endl;146 cout<<m<<" "<<n<<" "<<mflops<<" "<<time/nbit<<endl; 147 147 #endif 148 148 }
