示例#1
0
 ScaleTransDoubleMatrixBench(void* p) : INHERITED(p, "scaletrans_double"), fCount (16) {
     init9(fMatrix);
     int i;
     for (i = 0; i < fCount; i++) {
         fSrc[i].fX = fRandom.nextS();
         fSrc[i].fY = fRandom.nextS();
         fDst[i].fX = fRandom.nextS();
         fDst[i].fY = fRandom.nextS();
     }
 }
示例#2
0
 ForcedIntComparisonBench(void* param)
     : INHERITED(param, "compare_forced_int") {
     init9(fArray);
 }
示例#3
0
 FloatComparisonBench(void* param) : INHERITED(param, "compare_float") {
     init9(fArray);
 }
示例#4
0
 FloatConcatMatrixBench(void* p) : INHERITED(p, "concat_floatfloat") {
     init9(mya);
     init9(myb);
     init9(myr);
 }
示例#5
0
 DoubleConcatMatrixBench(void* p) : INHERITED(p, "concat_double") {
     init9(mya);
     init9(myb);
     init9(myr);
 }