/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/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()
|
/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()
|
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | notify_all.pass.cpp | 34 const unsigned threadCount = 2; variable 47 notReady = threadCount; in main() 48 std::vector<std::thread> threads(threadCount); in main() 49 for (unsigned i = 0; i < threadCount; i++) in main() 63 for (unsigned i = 0; i < threadCount; i++) in main()
|
/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/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/OpenCL-CTS/test_conformance/c11_atomics/ |
D | common.h | 128 cl_uint threadCount; member 135 …threadContext->test->HostFunction(threadContext->tid, threadContext->threadCount, threadContext->d… in HostThreadFunction() 152 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 160 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() argument 164 virtual bool GenerateRefs(cl_uint threadCount, HostDataType *startRefValues, MTdata d) in GenerateRefs() argument 168 …virtual bool VerifyRefs(bool &correct, cl_uint threadCount, HostDataType *refValues, HostAtomicTyp… in VerifyRefs() argument 275 …virtual void HostFunction(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, H… in HostFunction() argument 400 virtual cl_uint CurrentGroupNum(cl_uint threadCount) in CurrentGroupNum() argument 402 if(threadCount == 0) in CurrentGroupNum() 406 return threadCount/CurrentGroupSize(); in CurrentGroupNum() [all …]
|
D | test_atomics.cpp | 39 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 41 return threadCount; in NumResults() 61 …virtual void HostFunction(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, H… in HostFunction() argument 65 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() argument 131 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 133 return threadCount; in NumResults() 140 …virtual void HostFunction(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, H… in HostFunction() argument 144 …virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, HostDataType *startRefValu… in ExpectedValue() argument 215 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 217 return threadCount; in NumResults() [all …]
|
/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/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/tensorflow/tensorflow/lite/swift/Sources/ |
D | Interpreter.swift | 70 if let threadCount = $0.threadCount, threadCount > 0 { variable 71 TfLiteInterpreterOptionsSetNumThreads(cInterpreterOptions, Int32(threadCount)) 283 if let threadCount = options.threadCount, threadCount > 0 { in configureXNNPack() variable 284 cXNNPackOptions.num_threads = Int32(threadCount) in configureXNNPack() 297 public var threadCount: Int? = nil variable
|
/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/OpenCL-CTS/test_conformance/math_brute_force/ |
D | unary_double.cpp | 142 cl_uint threadCount; // Number of worker threads member 168 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double() 170 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double() 193 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestFunc_Double_Double() 204 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Double_Double() 213 test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Double_Double() 214 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double() 256 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestFunc_Double_Double() 271 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double() 299 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestFunc_Double_Double() [all …]
|
D | macro_unary_double.cpp | 140 cl_uint threadCount; // Number of worker threads member 159 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Double() 161 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Double() 182 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestMacro_Int_Double() 193 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestMacro_Int_Double() 202 test_info.threadCount * sizeof(*test_info.tinfo)); in TestMacro_Int_Double() 203 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Double() 245 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestMacro_Int_Double() 276 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestMacro_Int_Double() 284 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Double() [all …]
|
D | macro_unary_float.cpp | 139 cl_uint threadCount; // Number of worker threads member 158 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Float() 160 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Float() 182 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestMacro_Int_Float() 193 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestMacro_Int_Float() 202 test_info.threadCount * sizeof(*test_info.tinfo)); in TestMacro_Int_Float() 203 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Float() 245 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestMacro_Int_Float() 276 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestMacro_Int_Float() 284 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Float() [all …]
|
D | binary_i_double.cpp | 154 cl_uint threadCount; // Number of worker threads member 299 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double_Int() 301 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double_Int() 323 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestFunc_Double_Double_Int() 334 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Double_Double_Int() 343 test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Double_Double_Int() 344 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double_Int() 401 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestFunc_Double_Double_Int() 416 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double_Int() 445 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestFunc_Double_Double_Int() [all …]
|
D | unary_float.cpp | 140 cl_uint threadCount; // Number of worker threads member 168 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float() 170 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float() 193 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestFunc_Float_Float() 204 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Float_Float() 213 test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Float_Float() 214 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Float_Float() 274 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestFunc_Float_Float() 289 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Float_Float() 323 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestFunc_Float_Float() [all …]
|
D | binary_i_float.cpp | 152 cl_uint threadCount; // Number of worker threads member 291 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float_Int() 293 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float_Int() 316 size_t array_size = test_info.threadCount * sizeof(cl_kernel); in TestFunc_Float_Float_Int() 327 (ThreadInfo *)malloc(test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Float_Float_Int() 336 test_info.threadCount * sizeof(*test_info.tinfo)); in TestFunc_Float_Float_Int() 337 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Float_Float_Int() 394 gMinVectorSizeIndex, test_info.threadCount, test_info.k, in TestFunc_Float_Float_Int() 409 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Float_Float_Int() 438 for (cl_uint j = 0; j < test_info.threadCount; j++) in TestFunc_Float_Float_Int() [all …]
|
/external/OpenCL-CTS/test_conformance/half/ |
D | Test_vStoreHalf.cpp | 695 cl_uint threadCount = GetThreadCount(); in Test_vStoreHalf_private() local 702 fref.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private() 710 fchk.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private() 717 dref.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private() 725 dchk.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private() 734 ThreadPool_Do(ReferenceF, threadCount, &fref); in Test_vStoreHalf_private() 744 ThreadPool_Do(ReferenceD, threadCount, &dref); in Test_vStoreHalf_private() 793 error = ThreadPool_Do(CheckF, threadCount, &fchk); in Test_vStoreHalf_private() 828 error = ThreadPool_Do(CheckD, threadCount, &dchk); in Test_vStoreHalf_private() 1292 cl_uint threadCount = GetThreadCount(); in Test_vStoreaHalf_private() local [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/tensorflow/tensorflow/lite/swift/Tests/ |
D | InterpreterTests.swift | 47 options.threadCount = 2 in testInitWithOptions() 231 XCTAssertNil(options.threadCount) in testInitWithDefaultValues() 238 options.threadCount = 2 in testInitWithCustomValues() 239 XCTAssertEqual(options.threadCount, 2) in testInitWithCustomValues() 253 options1.threadCount = 2 in testEquatable() 254 options2.threadCount = 2 in testEquatable() 257 options2.threadCount = 3 in testEquatable() 260 options2.threadCount = 2 in testEquatable()
|
/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()
|
/external/llvm-project/libcxx/test/libcxx/debug/containers/ |
D | db_sequence_container_iterators.multithread.pass.cpp | 60 const size_t threadCount = 4; in ThreadUseIter() local 62 for (size_t count = 0; count < threadCount; count++) in ThreadUseIter() 65 for (size_t count = 0; count < threadCount; count++) in ThreadUseIter()
|