Searched refs:threadcount (Results 1 – 5 of 5) sorted by relevance
46 int threadcount; variable59 threadcount = QThread::idealThreadCount(); in MandelbrotWidget()60 threads = new MandelbrotThread*[threadcount]; in MandelbrotWidget()61 for(int th = 0; th < threadcount; th++) threads[th] = new MandelbrotThread(this, th); in MandelbrotWidget()66 for(int th = 0; th < threadcount; th++) delete threads[th]; in ~MandelbrotWidget()
42 const int threadcount = widget->threadcount; in render() local48 for(int y = id; y < img_height; y += threadcount) in render()134 for(int th = 0; th < threadcount; th++) in paintEvent()136 for(int th = 0; th < threadcount; th++) in paintEvent()147 std::cout << threadcount << " threads, " in paintEvent()182 for(int th = 0; th < threadcount; th++) in mousePressEvent()199 for(int th = 0; th < threadcount; th++) in mouseMoveEvent()
364 int threadcount) in globalThreadDataNew() argument379 pThis->m_threadcount = threadcount; in globalThreadDataNew()381 pThis->m_pRandData = (MTdata *)malloc(threadcount*sizeof(MTdata)); in globalThreadDataNew()383 malloc(threadcount*sizeof(perThreadData *)); in globalThreadDataNew()384 for(i=0; i < threadcount; ++i) in globalThreadDataNew()478 cl_uint threadcount = GetThreadCount(); in test_integer_ops_threaded() local517 while ((cl_ulong)threadcount * 4 * num_elements * type_size * vectorSize > maxDeviceGlobalMem) in test_integer_ops_threaded()533 type, testID, threadcount); in test_integer_ops_threaded()
2325 int threadcount = 0; in Work() local2332 SpawnSlave(newsock, threadcount); in Work()2333 threadcount++; in Work()
1410 threadcount