All pastes #2091737 Raw Edit

Mine

public text v1 · immutable
#2091737 ·published 2011-10-20 11:32 UTC
rendered paste body
********* Start testing of tst_QMutex *********
Config: Using QTest library 4.8.0, Qt 4.8.0
PASS   : tst_QMutex::initTestCase()
RESULT : tst_QMutex::noThread():"noLock":
     11 msecs per iteration (total: 94, iterations: 8)
RESULT : tst_QMutex::noThread():"QMutexInline":
     80 msecs per iteration (total: 80, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutex":
     105 msecs per iteration (total: 105, iterations: 1)
RESULT : tst_QMutex::noThread():"QMutexLocker":
     81 msecs per iteration (total: 81, iterations: 1)
PASS   : tst_QMutex::noThread()
RESULT : tst_QMutex::uncontendedNative():
     0.000042 msecs per iteration (total: 90, iterations: 2097152)
PASS   : tst_QMutex::uncontendedNative()
RESULT : tst_QMutex::uncontendedQMutex():
     0.000026 msecs per iteration (total: 55, iterations: 2097152)
PASS   : tst_QMutex::uncontendedQMutex()
RESULT : tst_QMutex::uncontendedQMutexLocker():
     0.000022 msecs per iteration (total: 96, iterations: 4194304)
PASS   : tst_QMutex::uncontendedQMutexLocker()
RESULT : tst_QMutex::contendedNative():"baseline":
     0.15 msecs per iteration (total: 77, iterations: 512)
RESULT : tst_QMutex::contendedNative():"no msleep, 1 mutex":
     43 msecs per iteration (total: 87, iterations: 2)
RESULT : tst_QMutex::contendedNative():"no msleep, 2 mutexes":
     47 msecs per iteration (total: 94, iterations: 2)
RESULT : tst_QMutex::contendedNative():"msleep(0), 1 mutex":
     45 msecs per iteration (total: 90, iterations: 2)
RESULT : tst_QMutex::contendedNative():"msleep(0), 2 mutexes":
     44 msecs per iteration (total: 89, iterations: 2)
RESULT : tst_QMutex::contendedNative():"msleep(1), 1 mutex":
     102 msecs per iteration (total: 102, iterations: 1)
RESULT : tst_QMutex::contendedNative():"msleep(1), 2 mutexes":
     103 msecs per iteration (total: 103, iterations: 1)
RESULT : tst_QMutex::contendedNative():"msleep(2), 1 mutex":
     194 msecs per iteration (total: 194, iterations: 1)
RESULT : tst_QMutex::contendedNative():"msleep(2), 2 mutexes":
     195 msecs per iteration (total: 195, iterations: 1)
RESULT : tst_QMutex::contendedNative():"msleep(10), 1 mutex":
     890 msecs per iteration (total: 890, iterations: 1)
RESULT : tst_QMutex::contendedNative():"msleep(10), 2 mutexes":
     889 msecs per iteration (total: 889, iterations: 1)
PASS   : tst_QMutex::contendedNative()
RESULT : tst_QMutex::contendedQMutex():"baseline":
     0.15 msecs per iteration (total: 80, iterations: 512)
RESULT : tst_QMutex::contendedQMutex():"no msleep, 1 mutex":
     1.9 msecs per iteration (total: 61, iterations: 32)
RESULT : tst_QMutex::contendedQMutex():"no msleep, 2 mutexes":
     2.4 msecs per iteration (total: 77, iterations: 32)
RESULT : tst_QMutex::contendedQMutex():"msleep(0), 1 mutex":
     7.3 msecs per iteration (total: 59, iterations: 8)
RESULT : tst_QMutex::contendedQMutex():"msleep(0), 2 mutexes":
     6.1 msecs per iteration (total: 99, iterations: 16)
RESULT : tst_QMutex::contendedQMutex():"msleep(1), 1 mutex":
     102 msecs per iteration (total: 102, iterations: 1)
RESULT : tst_QMutex::contendedQMutex():"msleep(1), 2 mutexes":
     104 msecs per iteration (total: 104, iterations: 1)
RESULT : tst_QMutex::contendedQMutex():"msleep(2), 1 mutex":
     192 msecs per iteration (total: 192, iterations: 1)
RESULT : tst_QMutex::contendedQMutex():"msleep(2), 2 mutexes":
     194 msecs per iteration (total: 194, iterations: 1)
RESULT : tst_QMutex::contendedQMutex():"msleep(10), 1 mutex":
     885 msecs per iteration (total: 885, iterations: 1)
RESULT : tst_QMutex::contendedQMutex():"msleep(10), 2 mutexes":
     888 msecs per iteration (total: 888, iterations: 1)
PASS   : tst_QMutex::contendedQMutex()
RESULT : tst_QMutex::contendedQMutexLocker():"baseline":
     0.15 msecs per iteration (total: 77, iterations: 512)
RESULT : tst_QMutex::contendedQMutexLocker():"no msleep, 1 mutex":
     1.8 msecs per iteration (total: 58, iterations: 32)
RESULT : tst_QMutex::contendedQMutexLocker():"no msleep, 2 mutexes":
     2.2 msecs per iteration (total: 73, iterations: 32)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(0), 1 mutex":
     5.6 msecs per iteration (total: 91, iterations: 16)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(0), 2 mutexes":
     6.81 msecs per iteration (total: 109, iterations: 16)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(1), 1 mutex":
     104 msecs per iteration (total: 104, iterations: 1)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(1), 2 mutexes":
     102 msecs per iteration (total: 102, iterations: 1)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(2), 1 mutex":
     193 msecs per iteration (total: 193, iterations: 1)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(2), 2 mutexes":
     194 msecs per iteration (total: 194, iterations: 1)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(10), 1 mutex":
     884 msecs per iteration (total: 884, iterations: 1)
RESULT : tst_QMutex::contendedQMutexLocker():"msleep(10), 2 mutexes":
     881 msecs per iteration (total: 881, iterations: 1)
PASS   : tst_QMutex::contendedQMutexLocker()
PASS   : tst_QMutex::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped
********* Finished testing of tst_QMutex *********