Home
last modified time | relevance | path

Searched full:threadcount (Results 1 – 25 of 80) sorted by relevance

1234

/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp73 int threadCount; member
855 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init()
882 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vecto… in createThreads() argument
884 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size()); in createThreads()
889 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads()
984 …wCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::End… in logTestConfig()
985 …log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMess… in logTestConfig()
1039 createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts); in iterate()
1087 basicConfig.threadCount = 1; in init()
1122 int threadCount = threadCounts[threadCountNdx]; in init() local
[all …]
/external/testng/src/test/java/test/thread/
DSequentialTest.java44 public void verifySequential(int threadCount) { in verifySequential() argument
45 runTest(threadCount, in verifySequential()
51 public void verifySingleThreaded(int threadCount) { in verifySingleThreaded() argument
52 runTest(threadCount, in verifySingleThreaded()
58 private void runTest(int threadCount, String... classes) { in runTest() argument
65 setThreadCount(threadCount); in runTest()
90 Assert.assertEquals(verifyMap.size(), threadCount); in runTest() local
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]); in runTest()
DMultiThreadedDependentTest.java69 private void test(int threadCount) { in test() argument
73 tng.setThreadCount(threadCount); in test()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DThreadGroup002Test.java168 for (int threadCount = 0; threadCount < testedThreadsNumber; threadCount++) { in testThreadGroup002()
169 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[threadCount] in testThreadGroup002()
170 + "; threadName = " + testedThreadsNames[threadCount]); in testThreadGroup002()
175 packet.setNextValueAsReferenceTypeID(testedThreadsIDs[threadCount]); in testThreadGroup002()
193 packet.setNextValueAsThreadID(testedThreadsIDs[threadCount]); in testThreadGroup002()
204 if ( threadCount >= finishedTestedThreadsNumber ) { in testThreadGroup002()
206 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002()
219 if ( threadCount < finishedTestedThreadsNumber ) { in testThreadGroup002()
221 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002()
249 if ( ! testedThreadGroupsNames[threadCount].equals(threadGroupName) ) { in testThreadGroup002()
[all …]
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp94 , threadCount (0) in TestSpec()
104 int threadCount; member
122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } in getInitialValue()
242 src << " uint preGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
245 …src << " uint increment[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
248 …src << " uint decrement[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
251 src << " uint postGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
254 src << " uint get[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
537 … + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec.callCount… in checkAndLogCounterValues()
540 … - (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec.callCount… in checkAndLogCounterValues()
[all …]
/external/llvm/lib/Support/
DThreadPool.cpp26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
28 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool()
30 Threads.reserve(ThreadCount); in ThreadPool()
31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()
117 // No threads are launched, issue a warning if ThreadCount is not 0
118 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
120 if (ThreadCount) { in ThreadPool()
121 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
/external/testng/src/main/java/org/testng/internal/thread/
DExecutorAdapter.java18 public ExecutorAdapter(int threadCount, IThreadFactory tf) { in ExecutorAdapter() argument
19 super(threadCount, in ExecutorAdapter()
20 threadCount, in ExecutorAdapter()
55 int threadCount = threads.size(); in getStackTraces() local
56 StackTraceElement[][] result = new StackTraceElement[threadCount][]; in getStackTraces()
DThreadUtil.java92 public static final IExecutor createExecutor(int threadCount, String threadFactoryName) { in createExecutor() argument
93 return new ExecutorAdapter(threadCount, createFactory(threadFactoryName)); in createExecutor()
/external/eigen/demos/mandelbrot/
Dmandelbrot.h46 int threadcount; variable
59 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()
Dmandelbrot.cpp42 const int threadcount = widget->threadcount; in render() local
48 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()
/external/swiftshader/src/Main/
DSwiftConfig.cpp374 …html += "<tr><td>Number of threads:</td><td><select name='threadCount' title='The number of render… in page()
375 …html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</optio… in page()
376 …html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity … in page()
377 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n"; in page()
378 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n"; in page()
379 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n"; in page()
380 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n"; in page()
381 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n"; in page()
382 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n"; in page()
383 html += "<option value='7'" + (config.threadCount == 7 ? selected : empty) + ">7</option>\n"; in page()
[all …]
/external/dng_sdk/source/
Ddng_opcodes.h339 /// \param threadCount The number of threads to be used to perform the
342 /// \param threadCount Total number of threads that will be used for
359 uint32 /* threadCount */, in Prepare()
376 /// between 0 and threadCount - 1 for the threadCount passed to Prepare
441 /// \param threadCount The number of threads to be used to perform the
444 /// \param threadCount Total number of threads that will be used for
461 uint32 /* threadCount */, in Prepare()
479 /// between 0 and threadCount - 1 for the threadCount passed to Prepare
Ddng_filter_task.h103 /// between 0 and threadCount - 1 for the threadCount passed to Start method.
116 /// \param threadCount Total number of threads that will be used for
128 virtual void Start (uint32 threadCount,
138 /// \param threadIndex 0 to threadCount - 1 index indicating which thread
Ddng_area_task.h128 …/// \param threadCount Total number of threads that will be used for processing. Less than or equa…
133 virtual void Start (uint32 threadCount,
144 …/// \param threadIndex 0 to threadCount - 1 index indicating which thread this is. (Can be used to…
155 /// \param threadCount Number of threads used for processing. Same as value passed to Start.
157 virtual void Finish (uint32 threadCount);
169 /// \param threadIndex 0 to threadCount - 1 index indicating which thread this is.
Ddng_opcodes.cpp306 virtual void Start (uint32 threadCount, in Start() argument
312 dng_filter_task::Start (threadCount, in Start()
318 threadCount, in Start()
446 virtual void Start (uint32 threadCount, in Start() argument
455 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start()
463 threadCount, in Start()
Ddng_jpeg_image.cpp225 uint32 threadCount = Min_uint32 (tileCount, in Encode() local
236 dng_rect (0, 0, 16, 16 * threadCount)); in Encode()
338 uint32 threadCount = Min_uint32 (tileCount, in FindDigest() local
346 dng_rect (0, 0, 16, 16 * threadCount)); in FindDigest()
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
DCrawler.java52 private void parallelDrainQueue(int threadCount) { in parallelDrainQueue() argument
53 ExecutorService executor = Executors.newFixedThreadPool(threadCount); in parallelDrainQueue()
54 for (int i = 0; i < threadCount; i++) { in parallelDrainQueue()
120 int threadCount = 20; in main() local
129 crawler.parallelDrainQueue(threadCount); in main()
/external/guice/core/test/com/google/inject/
DPerformanceComparison.java177 int threadCount = 10; in concurrentlyIterate() local
180 Thread[] threads = new Thread[threadCount]; in concurrentlyIterate()
182 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate()
200 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate()
204 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate()
/external/llvm/lib/CodeGen/
DParallelCG.cpp56 int ThreadCount = 0; in splitCodeGen() local
72 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen()
73 BCOSs[ThreadCount]->flush(); in splitCodeGen()
76 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
/external/deqp/scripts/
Dlaunchcontrol_build.py59 threadCount = multiprocessing.cpu_count() + 1
60 print "Invoke make with %d threads" % threadCount
61 execute(["make", "-j%d" % threadCount])
/external/testng/src/main/java/org/testng/xml/
DTestNGContentHandler.java190 String threadCount = attributes.getValue("thread-count"); in xmlSuite() local
191 if (null != threadCount) { in xmlSuite()
192 m_currentSuite.setThreadCount(Integer.parseInt(threadCount)); in xmlSuite()
308 String threadCount = attributes.getValue("thread-count"); in xmlTest() local
309 if(null != threadCount) { in xmlTest()
310 m_currentTest.setThreadCount(Integer.parseInt(threadCount)); in xmlTest()
/external/testng/src/main/java/org/testng/
DTestNG.java462 public void setThreadCount(int threadCount) { in setThreadCount() argument
463 if(threadCount < 1) { in setThreadCount()
464 exitWithError("Cannot use a threadCount parameter less than 1; 1 > " + threadCount); in setThreadCount()
467 m_threadCount = threadCount; in setThreadCount()
499 …* If used together with threadCount, parallel, groups, excludedGroups than this one must be set fi…
1453 if (cla.threadCount != null) { in configure()
1454 setThreadCount(cla.threadCount); in configure()
1590 String threadCount = (String) cmdLineArgs.get(CommandLineArgs.THREAD_COUNT); in configure() local
1591 if (threadCount != null) { in configure()
1592 result.threadCount = Integer.parseInt(threadCount); in configure()
DCommandLineArgs.java67 public static final String THREAD_COUNT = "-threadcount";
70 public Integer threadCount; field in CommandLineArgs
/external/jcommander/src/test/java/com/beust/jcommander/args/
DCommandLineArgs.java65 @Parameter(names = "-threadcount", description = "Number of threads to use when running tests " +
67 public Integer threadCount; field in CommandLineArgs
/external/swiftshader/src/Renderer/
DRenderer.cpp64 int threadCount = 1; variable
650 if(threadCount > 1) in draw()
791 if((int)qSize < threadCount - threadsAwake + 1) in scheduleTask()
801 if(threadsAwake != threadCount) in scheduleTask()
805 for(int i = 0; i < threadCount && wakeup > 0; i++) in scheduleTask()
1950 unitCount = ceilPow2(threadCount); in initializeThreads()
1951 clusterCount = ceilPow2(threadCount); in initializeThreads()
1959 for(int i = 0; i < threadCount; i++) in initializeThreads()
1988 for(int thread = 0; thread < threadCount; thread++) in terminateThreads()
2532 return threadCount; in getThreadCount()
[all …]

1234