Searched defs:threadCount (Results 1 - 25 of 36) sorted by relevance

12

/external/testng/src/test/java/test/thread/
H A DMultiThreadedDependentTest.java69 private void test(int threadCount) { argument
73 tng.setThreadCount(threadCount);
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]);
/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/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/dng_sdk/source/
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_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_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_render.cpp751 virtual void Start (uint32 threadCount,
816 void dng_render_task::Start (uint32 threadCount, argument
822 dng_filter_task::Start (threadCount,
978 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
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,
H A Ddng_read_image.cpp3222 uint32 threadCount = Min_uint32 (outerSamples * tilesDown * tilesAcross, local
3242 dng_rect (0, 0, 16, 16 * threadCount));
/external/icu/icu4c/source/test/intltest/
H A Dintltest.h339 int32_t threadCount; member in class: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...]
/external/jcommander/src/test/java/com/beust/jcommander/args/
H A DCommandLineArgs.java67 public Integer threadCount; field in class:CommandLineArgs
/external/swiftshader/src/Main/
H A DSwiftConfig.hpp45 int threadCount; member in struct:sw::SwiftConfig::Configuration
/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...]
H A DTestNGAntTask.java174 public void setThreadCount(String threadCount) { argument
175 m_threadCount= threadCount;
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp73 int threadCount; member in struct:deqp::egl::__anon4322::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...]
H A DteglMultiThreadTests.cpp144 MultiThreadedTest (EglTestContext& eglTestCtx, const char* name, const char* description, int threadCount, deUint64 timeoutUs);
262 MultiThreadedTest::MultiThreadedTest (EglTestContext& eglTestCtx, const char* name, const char* description, int threadCount, deUint64 timeoutUs) argument
264 , m_threadCount (threadCount)
/external/deqp/modules/gles31/functional/
H A Des31fAtomicCounterTests.cpp94 , threadCount (0)
104 int threadCount; member in struct:deqp::gles31::Functional::__anon4770::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/testng/src/main/java/org/testng/xml/
H A DXmlTest.java200 public void setThreadCount(int threadCount) { argument
201 m_threadCount = threadCount;
H A DXmlSuite.java380 * @return The threadCount.
388 * @param threadCount The thread count to set.
390 public void setThreadCount(int threadCount) { argument
391 m_threadCount = threadCount;
/external/opencv/cv/src/
H A Dcvlkpyramid.cpp299 int threadCount = cvGetNumThreads(); local
366 for( i = 0; i < threadCount; i++ )
417 bufferBytes = (srcPatchLen + patchLen * 3) * sizeof( _patchI[0][0] ) * threadCount;
420 for( i = 0; i < threadCount; i++ )
444 #pragma omp parallel for num_threads(threadCount) schedule(dynamic)
/external/swiftshader/src/Renderer/
H A DRenderer.cpp65 int threadCount = 1; member in namespace:sw
652 if(threadCount == 1) // Use main thread for draw execution
815 if((int)qSize < threadCount - threadsAwake + 1)
825 if(threadsAwake != threadCount)
829 for(int i = 0; i < threadCount && wakeup > 0; i++)
1973 unitCount = ceilPow2(threadCount);
1974 clusterCount = ceilPow2(threadCount);
1982 for(int i = 0; i < threadCount; i++)
2011 for(int thread = 0; thread < threadCount; thread++)
2615 return threadCount;
[all...]

Completed in 1984 milliseconds

12