/external/deqp/modules/egl/ |
D | teglGLES2SharedRenderingPerfTests.cpp | 73 int threadCount; member 859 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init() 886 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vecto… in createThreads() argument 888 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size()); in createThreads() 893 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads() 988 …wCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::End… in logTestConfig() 989 …log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMess… in logTestConfig() 1043 …createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts, m_eglTest… in iterate() 1091 basicConfig.threadCount = 1; in init() 1126 int threadCount = threadCounts[threadCountNdx]; in init() local [all …]
|
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/ |
D | InterpreterOptionsTests.swift | 22 XCTAssertNil(options.threadCount) in testInterpreterOptions_InitWithDefaultValues() 28 options.threadCount = 2 in testInterpreterOptions_InitWithCustomValues() 29 XCTAssertEqual(options.threadCount, 2) in testInterpreterOptions_InitWithCustomValues() 39 options1.threadCount = 2 in testInterpreterOptions_Equatable() 40 options2.threadCount = 2 in testInterpreterOptions_Equatable() 43 options2.threadCount = 3 in testInterpreterOptions_Equatable() 45 options2.threadCount = 2 in testInterpreterOptions_Equatable()
|
/external/testng/src/test/java/test/thread/ |
D | SequentialTest.java | 44 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()
|
D | MultiThreadedDependentTest.java | 69 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/ |
D | ThreadGroup002Test.java | 166 for (int threadCount = 0; threadCount < testedThreadsNumber; threadCount++) { in testThreadGroup002() 167 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[threadCount] in testThreadGroup002() 168 + "; threadName = " + testedThreadsNames[threadCount]); in testThreadGroup002() 173 packet.setNextValueAsReferenceTypeID(testedThreadsIDs[threadCount]); in testThreadGroup002() 191 packet.setNextValueAsThreadID(testedThreadsIDs[threadCount]); in testThreadGroup002() 202 if ( threadCount >= finishedTestedThreadsNumber ) { in testThreadGroup002() 204 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002() 217 if ( threadCount < finishedTestedThreadsNumber ) { in testThreadGroup002() 219 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002() 247 if ( ! testedThreadGroupsNames[threadCount].equals(threadGroupName) ) { in testThreadGroup002() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Microbenchmarks/ |
D | Program.cs | 78 foreach (int threadCount in new int[] {1, 1, 2, 4, 8, 12}) in RunCompletionRegistryBenchmark() 82 benchmark.Run(threadCount, 4 * 1000 * 1000, useSharedRegistry); in RunCompletionRegistryBenchmark() 92 foreach (int threadCount in new int[] {1, 1, 2, 4, 8, 12}) in RunPInvokeByteArrayBenchmark() 94 benchmark.Run(threadCount, 4 * 1000 * 1000, 0); in RunPInvokeByteArrayBenchmark() 103 foreach (int threadCount in new int[] {1, 1, 2, 4, 8, 12}) in RunSendMessageBenchmark() 105 benchmark.Run(threadCount, 4 * 1000 * 1000, 0); in RunSendMessageBenchmark()
|
D | PInvokeByteArrayBenchmark.cs | 41 public void Run(int threadCount, int iterations, int payloadSize) in Run() argument 43 …vokeByteArrayBenchmark: threads={0}, iterations={1}, payloadSize={2}", threadCount, iterations, pa… in Run() 44 …var threadedBenchmark = new ThreadedBenchmark(threadCount, () => ThreadBody(iterations, payloadSiz… in Run()
|
D | CompletionRegistryBenchmark.cs | 43 public void Run(int threadCount, int iterations, bool useSharedRegistry) in Run() argument 45 …egistryBenchmark: threads={0}, iterations={1}, useSharedRegistry={2}", threadCount, iterations, us… in Run() 47 …var threadedBenchmark = new ThreadedBenchmark(threadCount, () => ThreadBody(iterations, sharedRegi… in Run()
|
D | SendMessageBenchmark.cs | 46 public void Run(int threadCount, int iterations, int payloadSize) in Run() argument 48 …("SendMessageBenchmark: threads={0}, iterations={1}, payloadSize={2}", threadCount, iterations, pa… in Run() 49 …var threadedBenchmark = new ThreadedBenchmark(threadCount, () => ThreadBody(iterations, payloadSiz… in Run()
|
D | ThreadedBenchmark.cs | 37 public ThreadedBenchmark(int threadCount, Action threadBody) in ThreadedBenchmark() argument 40 for (int i = 0; i < threadCount; i++) in ThreadedBenchmark()
|
/external/deqp/modules/gles31/functional/ |
D | es31fAtomicCounterTests.cpp | 94 , 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/xz-java/src/ |
D | TestAllocSpeed.java | 85 final int threadCount = Integer.parseInt(args[2]); in main() local 87 if (threadCount < 1 || threadCount > 64) in main() 94 Thread[] threads = new Thread[threadCount]; in main() 95 for (int i = 0; i < threadCount; ++i) { in main() 100 for (int i = 0; i < threadCount; ++i) in main()
|
/external/oj-libjdwp/src/share/back/ |
D | ThreadGroupReferenceImpl.c | 103 jint threadCount; in children() local 109 &threadCount,&theThreads, in children() 118 threadCount = filterDebugThreads(theThreads, threadCount); in children() 120 (void)outStream_writeInt(out, threadCount); in children() 121 for (i = 0; i < threadCount; i++) { in children()
|
/external/testng/src/main/java/org/testng/internal/thread/ |
D | ExecutorAdapter.java | 18 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()
|
/external/swiftshader/src/Main/ |
D | SwiftConfig.cpp | 376 …html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</optio… in page() 377 …html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity … in page() 378 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n"; in page() 379 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n"; in page() 380 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n"; in page() 381 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n"; in page() 382 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n"; in page() 383 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n"; in page() 384 html += "<option value='7'" + (config.threadCount == 7 ? selected : empty) + ">7</option>\n"; in page() 385 html += "<option value='8'" + (config.threadCount == 8 ? selected : empty) + ">8</option>\n"; in page() [all …]
|
/external/swiftshader/src/Device/ |
D | SwiftConfig.cpp | 376 …html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</optio… in page() 377 …html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity … in page() 378 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n"; in page() 379 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n"; in page() 380 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n"; in page() 381 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n"; in page() 382 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n"; in page() 383 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n"; in page() 384 html += "<option value='7'" + (config.threadCount == 7 ? selected : empty) + ">7</option>\n"; in page() 385 html += "<option value='8'" + (config.threadCount == 8 ? selected : empty) + ">8</option>\n"; in page() [all …]
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 52 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/dng_sdk/source/ |
D | dng_opcodes.cpp | 306 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()
|
D | dng_jpeg_image.cpp | 225 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()
|
D | dng_area_task.h | 133 virtual void Start (uint32 threadCount, 157 virtual void Finish (uint32 threadCount);
|
D | dng_filter_task.cpp | 58 void dng_filter_task::Start (uint32 threadCount, in Start() argument 71 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start()
|
/external/deqp/scripts/ |
D | launchcontrol_build.py | 59 threadCount = multiprocessing.cpu_count() + 1 60 print "Invoke make with %d threads" % threadCount 61 execute(["make", "-j%d" % threadCount])
|
/external/guice/core/test/com/google/inject/ |
D | PerformanceComparison.java | 184 int threadCount = 10; in concurrentlyIterate() local 187 Thread[] threads = new Thread[threadCount]; in concurrentlyIterate() 189 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate() 207 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate() 211 for (int i = 0; i < threadCount; i++) { in concurrentlyIterate()
|
/external/tensorflow/tensorflow/lite/experimental/swift/Sources/ |
D | Interpreter.swift | 51 if let threadCount = options.threadCount, threadCount > 0 { variable 52 TFL_InterpreterOptionsSetNumThreads(cOptions, Int32(threadCount))
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/ |
D | LoadClient.java | 65 private final int threadCount; field in LoadClient 110 threadCount = config.getOutstandingRpcsPerChannel() * config.getClientChannels(); in LoadClient() 112 threadCount = config.getAsyncClientThreads() == 0 in LoadClient() 117 fixedThreadPool = Executors.newFixedThreadPool(threadCount, in LoadClient() 131 threadCount / config.getLoadParams().getPoisson().getOfferedLoad()); in LoadClient() 176 for (int i = 0; i < threadCount; i++) { in start()
|