Searched refs:threadcount (Results 1 – 3 of 3) 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()
2321 int threadcount = 0; in Work() local2328 SpawnSlave(newsock, threadcount); in Work()2329 threadcount++; in Work()