Searched refs:threadCount (Results 1 - 25 of 53) sorted by relevance

123

/external/testng/src/test/java/test/thread/
H A DSequentialTest.java44 public void verifySequential(int threadCount) { argument
45 runTest(threadCount,
51 public void verifySingleThreaded(int threadCount) { argument
52 runTest(threadCount,
58 private void runTest(int threadCount, String... classes) { argument
65 setThreadCount(threadCount);
90 Assert.assertEquals(verifyMap.size(), threadCount);
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]);
H A DMultiThreadedDependentTest.java69 private void test(int threadCount) { argument
73 tng.setThreadCount(threadCount);
/external/testng/src/main/java/org/testng/internal/thread/
H A DExecutorAdapter.java18 public ExecutorAdapter(int threadCount, IThreadFactory tf) { argument
19 super(threadCount,
20 threadCount,
55 int threadCount = threads.size();
56 StackTraceElement[][] result = new StackTraceElement[threadCount][];
H A DThreadUtil.java92 public static final IExecutor createExecutor(int threadCount, String threadFactoryName) { argument
93 return new ExecutorAdapter(threadCount, createFactory(threadFactoryName));
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp73 int threadCount; member in struct:deqp::egl::__anon4230::TestConfig
855 for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadNdx++)
882 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vector<TestContext*>& contexts) argument
884 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size());
889 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++)
984 log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::EndMessage;
985 log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMessage;
1039 createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts);
1087 basicConfig.threadCount = 1;
1122 int threadCount local
1171 int threadCount = threadCounts[threadCountNdx]; local
1219 int threadCount = threadCounts[threadCountNdx]; local
1268 int threadCount = threadCounts[threadCountNdx]; local
1317 int threadCount = threadCounts[threadCountNdx]; local
1366 int threadCount = threadCounts[threadCountNdx]; local
1415 int threadCount = threadCounts[threadCountNdx]; local
1467 int threadCount = threadCounts[threadCountNdx]; local
1518 int threadCount = threadCounts[threadCountNdx]; local
1569 int threadCount = threadCounts[threadCountNdx]; local
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DThreadGroup002Test.java168 for (int threadCount = 0; threadCount < testedThreadsNumber; threadCount++) {
169 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[threadCount]
170 + "; threadName = " + testedThreadsNames[threadCount]);
175 packet.setNextValueAsReferenceTypeID(testedThreadsIDs[threadCount]);
193 packet.setNextValueAsThreadID(testedThreadsIDs[threadCount]);
204 if ( threadCount >= finishedTestedThreadsNumber ) {
206 logWriter.println("## Thread witn number = " + threadCount +
219 if ( threadCount < finishedTestedThreadsNumbe
[all...]
/external/deqp/scripts/
H A Dlaunchcontrol_build.py59 threadCount = multiprocessing.cpu_count() + 1
60 print "Invoke make with %d threads" % threadCount
61 execute(["make", "-j%d" % threadCount])
/external/dng_sdk/source/
H A Ddng_area_task.h128 /// \param threadCount Total number of threads that will be used for processing. Less than or equal to MaxThreads.
133 virtual void Start (uint32 threadCount,
144 /// \param threadIndex 0 to threadCount - 1 index indicating which thread this is. (Can be used to get a thread-specific buffer allocated in the Start method.)
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.
H A Ddng_filter_task.cpp58 void dng_filter_task::Start (uint32 threadCount, argument
71 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
H A Ddng_opcodes.cpp306 virtual void Start (uint32 threadCount, argument
312 dng_filter_task::Start (threadCount,
318 threadCount,
446 virtual void Start (uint32 threadCount, argument
455 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
463 threadCount,
H A 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
H A Ddng_jpeg_image.cpp225 uint32 threadCount = Min_uint32 (tileCount, local
236 dng_rect (0, 0, 16, 16 * threadCount));
338 uint32 threadCount = Min_uint32 (tileCount, local
346 dng_rect (0, 0, 16, 16 * threadCount));
H A Ddng_bad_pixels.h65 uint32 threadCount,
269 uint32 threadCount,
H A Ddng_resample.cpp518 virtual void Start (uint32 threadCount,
628 void dng_resample_task::Start (uint32 threadCount, argument
677 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
686 dng_filter_task::Start (threadCount,
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
H A DCrawler.java52 private void parallelDrainQueue(int threadCount) { argument
53 ExecutorService executor = Executors.newFixedThreadPool(threadCount);
54 for (int i = 0; i < threadCount; i++) {
120 int threadCount = 20;
129 crawler.parallelDrainQueue(threadCount);
/external/deqp/modules/gles31/functional/
H A Des31fAtomicCounterTests.cpp94 , threadCount (0)
104 int threadCount; member in struct:deqp::gles31::Functional::__anon4678::AtomicCounterTest::TestSpec
122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; }
242 src << " uint preGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n";
245 src << " uint increment[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n";
248 src << " uint decrement[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n";
251 src << " uint postGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n";
254 src << " uint get[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n";
537 expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spe
1351 const int threadCount = threadCounts[threadCountNdx]; local
1435 const int threadCount = threadCounts[threadCountNdx]; local
[all...]
/external/swiftshader/src/Main/
H A DSwiftConfig.cpp374 html += "<tr><td>Number of threads:</td><td><select name='threadCount' title='The number of rendering threads to be used.'>\n";
375 html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</option>\n";
376 html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity (default)</option>\n";
377 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n";
378 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n";
379 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n";
380 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n";
381 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n";
382 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n";
383 html += "<option value='7'" + (config.threadCount
[all...]
H A DSwiftConfig.hpp45 int threadCount; member in struct:sw::SwiftConfig::Configuration
/external/guice/core/test/com/google/inject/
H A DPerformanceComparison.java177 int threadCount = 10;
180 Thread[] threads = new Thread[threadCount];
182 for (int i = 0; i < threadCount; i++) {
200 for (int i = 0; i < threadCount; i++) {
204 for (int i = 0; i < threadCount; i++) {
/external/jcommander/src/test/java/com/beust/jcommander/args/
H A DCommandLineArgs.java67 public Integer threadCount; field in class:CommandLineArgs
/external/swiftshader/src/Renderer/
H A DRenderer.cpp64 int threadCount = 1; member in namespace:sw
650 if(threadCount > 1)
791 if((int)qSize < threadCount - threadsAwake + 1)
801 if(threadsAwake != threadCount)
805 for(int i = 0; i < threadCount && wakeup > 0; i++)
1950 unitCount = ceilPow2(threadCount);
1951 clusterCount = ceilPow2(threadCount);
1959 for(int i = 0; i < threadCount; i++)
1988 for(int thread = 0; thread < threadCount; thread++)
2532 return threadCount;
[all...]
/external/testng/src/main/java/org/testng/
H A DCommandLineArgs.java70 public Integer threadCount; field in class:CommandLineArgs
H A DTestNG.java462 public void setThreadCount(int threadCount) { argument
463 if(threadCount < 1) {
464 exitWithError("Cannot use a threadCount parameter less than 1; 1 > " + threadCount);
467 m_threadCount = threadCount;
499 * If used together with threadCount, parallel, groups, excludedGroups than this one must be set first.
1453 if (cla.threadCount != null) {
1454 setThreadCount(cla.threadCount);
1590 String threadCount = (String) cmdLineArgs.get(CommandLineArgs.THREAD_COUNT);
1591 if (threadCount !
[all...]
/external/testng/src/main/java/org/testng/xml/
H A DTestNGContentHandler.java190 String threadCount = attributes.getValue("thread-count");
191 if (null != threadCount) {
192 m_currentSuite.setThreadCount(Integer.parseInt(threadCount));
308 String threadCount = attributes.getValue("thread-count");
309 if(null != threadCount) {
310 m_currentTest.setThreadCount(Integer.parseInt(threadCount));
/external/icu/icu4c/source/test/intltest/
H A Dintltest.cpp558 threadCount = 12;
574 threadCount = caller->threadCount;
643 int32_t rval = this->threadCount;
644 this->threadCount = count;
1208 int32_t threadCount = 12; local
1263 threadCount = atoi(str + 8);
1293 "### threads:<threadCount>\n"
1319 major.setThreadCount( threadCount );
1357 fprintf(stdout, " Threads : %d\n", threadCount);
[all...]

Completed in 579 milliseconds

123