bug in testLinkedList.cpp

linkedList.h better than std::list but NOT that much better.
Look at diffs for test/testLinkedListAux for bug:
This commit is contained in:
Marty Kraimer
2010-11-23 07:58:54 -05:00
parent 9db054cc54
commit fdfd11c755
5 changed files with 21 additions and 21 deletions

View File

@@ -294,7 +294,7 @@ static void testTime(FILE *auxFd) {
}
endTime.getCurrent();
double diff = TimeStamp::diff(endTime,startTime);
diff /= 1000.0;
diff *= 1000.0;
fprintf(auxFd,"diff %f milliSeconds\n",diff);
diff = diff/1000.0; // convert from milliseconds to seconds
diff = diff/ntimes; // seconds per outer loop