Searched defs:cSecs (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstRTR0SemMutexDriver.cpp72 uint32_t cSecs = RT_HIWORD(u32); local
79 enmDo, cSecs, &Req.Hdr),
104 unsigned cThreads, unsigned cSecs, PTSTRTR0SEMMUTEXREQ pReq, const char *pszTest)
131 rc = RTThreadCreateF(&ahThreads[i], tstThreadFn, (void *)(uintptr_t)RT_MAKE_U32(enmDo, cSecs), 0, RTTHREADTYPE_DEFAULT,
103 tstDoThreadedTest(TSTRTR0SEMMUTEX enmSetup, TSTRTR0SEMMUTEX enmDo, TSTRTR0SEMMUTEX enmCleanup, unsigned cThreads, unsigned cSecs, PTSTRTR0SEMMUTEXREQ pReq, const char *pszTest) argument
H A DtstRTSemXRoads.cpp94 static void tstTraffic(unsigned cThreads, unsigned cSecs) argument
96 RTTestSubF(g_hTest, "Traffic - %u threads per direction, %u sec", cThreads, cSecs);
118 g_cSecs = cSecs;
141 int rc2 = RTThreadWaitNoResume(ahThreadsX[i], (60 + cSecs) * 1000, NULL);
148 int rc2 = RTThreadWaitNoResume(ahThreadsY[i], (60 + cSecs) * 1000, NULL);
H A DtstRTMemCache.cpp256 static void tst3(uint32_t cThreads, uint32_t cbObject, int iMethod, uint32_t cSecs) argument
258 RTTestISubF("Benchmark - %u threads, %u bytes, %u secs, %s", cThreads, cbObject, cSecs,
293 RTThreadSleep(cSecs * 1000);
315 static void tst3AllMethods(uint32_t cThreads, uint32_t cbObject, uint32_t cSecs)
317 tst3(cThreads, cbObject, 0, cSecs);
318 tst3(cThreads, cbObject, 1, cSecs);
335 uint32_t cSecs = argc == 1 ? 5 : 2;
336 /* threads, cbObj, cSecs */
337 tst3AllMethods( 1, 256, cSecs);
338 tst3AllMethods( 1, 32, cSecs);
[all...]
H A DtstRTLockValidator.cpp321 static void testIt(uint32_t cThreads, uint32_t cSecs, bool fLoops, PFNRTTHREAD pfnThread, const char *pszName) argument
326 if (cSecs > 0)
327 RTTestSubF(g_hTest, "%s, %u threads, %u secs", pszName, cThreads, cSecs);
359 g_NanoTSStop = uStartNS + cSecs * UINT64_C(1000000000);
371 testWaitForThreads(TEST_LARGE_TIMEOUT + cSecs*1000, true);
409 if (cSecs)
454 static void testDd1(uint32_t cThreads, uint32_t cSecs) argument
456 testIt(cThreads, cSecs, false, testDd1Thread, "deadlock, critsect");
510 static void testDd2(uint32_t cThreads, uint32_t cSecs) argument
512 testIt(cThreads, cSecs, fals
557 testDd3(uint32_t cThreads, uint32_t cSecs) argument
613 testDd4(uint32_t cThreads, uint32_t cSecs) argument
653 testDd5(uint32_t cThreads, uint32_t cSecs) argument
706 testDd6(uint32_t cThreads, uint32_t cSecs) argument
760 testDd7(uint32_t cThreads, uint32_t cSecs) argument
[all...]

Completed in 279 milliseconds