/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/OpenCL-CTS/test_conformance/c11_atomics/ |
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 …]
|
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 …]
|
/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()
|
/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/llvm-project/llvm/lib/Support/ |
D | ThreadPool.cpp | 24 : ThreadCount(S.compute_thread_count()) { in ThreadPool() 25 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool() 27 Threads.reserve(ThreadCount); in ThreadPool() 28 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() 105 // No threads are launched, issue a warning if ThreadCount is not 0 107 : ThreadCount(S.compute_thread_count()) { in ThreadPool() 108 if (ThreadCount != 1) { in ThreadPool() 109 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ThreadPool.cpp | 26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 28 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool() 30 Threads.reserve(ThreadCount); in ThreadPool() 31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() 113 // No threads are launched, issue a warning if ThreadCount is not 0 114 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 116 if (ThreadCount) { in ThreadPool() 117 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
|
/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/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/llvm/lib/Support/ |
D | ThreadPool.cpp | 26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 28 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool() 30 Threads.reserve(ThreadCount); in ThreadPool() 31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() 117 // No threads are launched, issue a warning if ThreadCount is not 0 118 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument 120 if (ThreadCount) { in ThreadPool() 121 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
|
/external/eigen/demos/mandelbrot/ |
D | mandelbrot.h | 46 int threadcount; variable 59 threadcount = QThread::idealThreadCount(); in MandelbrotWidget() 60 threads = new MandelbrotThread*[threadcount]; in MandelbrotWidget() 61 for(int th = 0; th < threadcount; th++) threads[th] = new MandelbrotThread(this, th); in MandelbrotWidget() 66 for(int th = 0; th < threadcount; th++) delete threads[th]; in ~MandelbrotWidget()
|
D | mandelbrot.cpp | 42 const int threadcount = widget->threadcount; in render() local 48 for(int y = id; y < img_height; y += threadcount) in render() 134 for(int th = 0; th < threadcount; th++) in paintEvent() 136 for(int th = 0; th < threadcount; th++) in paintEvent() 147 std::cout << threadcount << " threads, " in paintEvent() 182 for(int th = 0; th < threadcount; th++) in mousePressEvent() 199 for(int th = 0; th < threadcount; th++) in mouseMoveEvent()
|
/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/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/llvm-project/clang/lib/Tooling/ |
D | AllTUsExecution.cpp | 65 const CompilationDatabase &Compilations, unsigned ThreadCount, in AllTUsToolExecutor() argument 68 Context(Results.get()), ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 71 CommonOptionsParser Options, unsigned ThreadCount, in AllTUsToolExecutor() argument 76 ThreadCount(ThreadCount) {} in AllTUsToolExecutor() 118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | AllTUsExecution.h | 30 /// This uses \p ThreadCount threads to exececute the actions on all files in 31 /// parallel. If \p ThreadCount is 0, this uses `llvm::hardware_concurrency`. 33 unsigned ThreadCount, 41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount, 69 unsigned ThreadCount; variable
|
/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 | 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 …]
|
/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/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/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()
|