HomeSort by relevance Sort by last modified time
    Searched refs:threadCount (Results 1 - 25 of 241) sorted by null

1 2 3 4 5 6 7 8 910

  /external/testng/src/test/java/test/thread/
SequentialTest.java 44 public void verifySequential(int threadCount) {
45 runTest(threadCount,
51 public void verifySingleThreaded(int threadCount) {
52 runTest(threadCount,
58 private void runTest(int threadCount, String... classes) {
65 setThreadCount(threadCount);
90 Assert.assertEquals(verifyMap.size(), threadCount);
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]);
MultiThreadedDependentTest.java 69 private void test(int threadCount) {
73 tng.setThreadCount(threadCount);
  /external/testng/src/main/java/org/testng/internal/thread/
ExecutorAdapter.java 18 public ExecutorAdapter(int threadCount, IThreadFactory tf) {
19 super(threadCount,
20 threadCount,
55 int threadCount = threads.size();
56 StackTraceElement[][] result = new StackTraceElement[threadCount][];
ThreadUtil.java 92 public static final IExecutor createExecutor(int threadCount, String threadFactoryName) {
93 return new ExecutorAdapter(threadCount, createFactory(threadFactoryName));
  /external/deqp/modules/egl/
teglGLES2SharedRenderingPerfTests.cpp 73 int threadCount;
862 for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadNdx++)
889 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vector<TestContext*>& contexts)
891 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size());
896 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++)
991 log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::EndMessage;
992 log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMessage;
1046 createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts);
1094 basicConfig.threadCount = 1;
1129 int threadCount = threadCounts[threadCountNdx]
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
ThreadGroup002Test.java 167 for (int threadCount = 0; threadCount < testedThreadsNumber; threadCount++) {
168 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[threadCount]
169 + "; threadName = " + testedThreadsNames[threadCount]);
174 packet.setNextValueAsReferenceTypeID(testedThreadsIDs[threadCount]);
192 packet.setNextValueAsThreadID(testedThreadsIDs[threadCount]);
203 if ( threadCount >= finishedTestedThreadsNumber ) {
205 logWriter.println("## Thread witn number = " + threadCount +
218 if ( threadCount < finishedTestedThreadsNumber )
    [all...]
  /external/dng_sdk/source/
dng_area_task.h 128 /// \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.
dng_filter_task.h 103 /// 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
dng_filter_task.cpp 58 void dng_filter_task::Start (uint32 threadCount,
71 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
dng_opcodes.cpp 306 virtual void Start (uint32 threadCount,
312 dng_filter_task::Start (threadCount,
318 threadCount,
446 virtual void Start (uint32 threadCount,
455 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
463 threadCount,
dng_jpeg_image.cpp 225 uint32 threadCount = Min_uint32 (tileCount,
236 dng_rect (0, 0, 16, 16 * threadCount));
338 uint32 threadCount = Min_uint32 (tileCount,
346 dng_rect (0, 0, 16, 16 * threadCount));
dng_bad_pixels.h 65 uint32 threadCount,
269 uint32 threadCount,
dng_resample.cpp 518 virtual void Start (uint32 threadCount,
628 void dng_resample_task::Start (uint32 threadCount,
677 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++)
686 dng_filter_task::Start (threadCount,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ObjectTest.java 118 final int threadCount = 20;
119 for (int i = 0; i < threadCount; ++i) {
129 if (ready == threadCount) {
136 + ready + ")", ready == threadCount);
140 for (int i = 1; i <= threadCount; ++i) {
187 final int threadCount = 20;
188 for (int i = 0; i < threadCount; ++i) {
200 if (ready == threadCount) {
207 + ready + ")", ready == threadCount);
217 + status + ")", status == threadCount);
    [all...]
  /external/deqp/scripts/
launchcontrol_build.py 54 threadCount = multiprocessing.cpu_count() + 1
55 print "Invoke make with %d threads" % threadCount
56 execute(["make", "-j%d" % threadCount])
  /libcore/jsr166-tests/src/test/java/jsr166/
ThreadLocalTest.java 96 final int threadCount = 10;
97 final int[] x = new int[threadCount];
101 for (int i = 0; i < threadCount; i++) {
  /external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
Crawler.java 52 private void parallelDrainQueue(int threadCount) {
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/
es31fAtomicCounterTests.cpp 94 , threadCount (0)
104 int threadCount;
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_spec.callCount/2 : m_spec.threadCount*m_spec.callCount)
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
SamplingProfiler.java 253 int threadCount;
255 threadCount = threadGroup.enumerate(threads);
256 if (threadCount == threads.length) {
262 if (threadCount < lastThread) {
264 Arrays.fill(threads, threadCount, lastThread, null);
266 lastThread = threadCount;
  /external/guice/core/test/com/google/inject/
PerformanceComparison.java 177 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++) {
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadGroupTest.java 362 private List<MyThread> populateGroupsWithThreads(ThreadGroup group, int threadCount) {
364 populateGroupsWithThreads(group, threadCount, result);
368 private void populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) {
369 for (int i = 0; i < threadCount; i++) {
370 out.add(new MyThread(group, "MyThread " + i + " of " + threadCount));
376 populateGroupsWithThreads(element, threadCount, out);
  /external/jcommander/src/test/java/com/beust/jcommander/args/
CommandLineArgs.java 65 @Parameter(names = "-threadcount", description = "Number of threads to use when running tests " +
67 public Integer threadCount;
  /external/testng/src/main/java/org/testng/
CommandLineArgs.java 67 public static final String THREAD_COUNT = "-threadcount";
70 public Integer threadCount;
TestNG.java 462 public void setThreadCount(int threadCount) {
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.
    [all...]
  /external/testng/src/main/java/org/testng/xml/
TestNGContentHandler.java 190 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));

Completed in 1019 milliseconds

1 2 3 4 5 6 7 8 910