| /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 | 42 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 44 return threadCount; in NumResults() 68 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument 74 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument 182 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 184 return threadCount; in NumResults() 190 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument 196 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument 311 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 313 return threadCount; in NumResults() [all …]
|
| D | common.h | 132 cl_uint threadCount; member 142 threadContext->tid, threadContext->threadCount, in HostThreadFunction() 160 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument 165 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument 171 virtual bool GenerateRefs(cl_uint threadCount, HostDataType *startRefValues, in GenerateRefs() argument 176 virtual bool VerifyRefs(bool &correct, cl_uint threadCount, in VerifyRefs() argument 299 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument 435 virtual cl_uint CurrentGroupNum(cl_uint threadCount) in CurrentGroupNum() argument 437 if (threadCount == 0) return 0; in CurrentGroupNum() 439 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/angle/src/tests/test_utils/ |
| D | MultiThreadSteps.cpp | 18 void RunLockStepThreads(EGLWindow *window, size_t threadCount, LockStepThreadFunc threadFuncs[]) in RunLockStepThreads() argument 29 std::vector<EGLSurface> surfaces(threadCount); in RunLockStepThreads() 30 std::vector<EGLContext> contexts(threadCount); in RunLockStepThreads() 33 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreads() 48 std::vector<std::thread> threads(threadCount); in RunLockStepThreads() 51 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreads() 58 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreads()
|
| /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/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/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/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/cronet/buildtools/third_party/libc++/trunk/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/swiftshader/src/System/ |
| D | SwiftConfig.cpp | 94 config.threadCount = ini.getInteger<uint32_t>("Processor", "ThreadCount", 0); in readConfigurationFromFile() 128 …uint32_t threadCount = (config.threadCount == 0) ? std::min<size_t>(marl::Thread::numLogicalCPUs()… in getSchedulerConfiguration() local 129 : config.threadCount; in getSchedulerConfiguration() 134 cfg.setWorkerThreadCount(threadCount); in getSchedulerConfiguration()
|
| /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/OpenCL-CTS/test_conformance/math_brute_force/ |
| D | unary_double.cpp | 112 return BuildKernel(info->nameInCode, vectorSize, info->threadCount, in BuildKernelFn() 146 cl_uint threadCount; // Number of worker threads member 378 "ThreadCount:%2u\n", in Test() 380 job->threadCount); in Test() 403 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double() 405 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double() 428 test_info.k[i].resize(test_info.threadCount, nullptr); in TestFunc_Double_Double() 431 test_info.tinfo.resize(test_info.threadCount); in TestFunc_Double_Double() 432 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double() 473 BuildKernelInfo build_info{ test_info.threadCount, test_info.k, in TestFunc_Double_Double() [all …]
|
| D | macro_unary_float.cpp | 110 return BuildKernel(info->nameInCode, vectorSize, info->threadCount, in BuildKernelFn() 141 cl_uint threadCount; // Number of worker threads member 365 "ThreadCount:%2u\n", in Test() 367 job->threadCount); in Test() 389 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Float() 391 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Float() 414 test_info.k[i].resize(test_info.threadCount, nullptr); in TestMacro_Int_Float() 417 test_info.tinfo.resize(test_info.threadCount); in TestMacro_Int_Float() 418 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Float() 459 BuildKernelInfo build_info{ test_info.threadCount, test_info.k, in TestMacro_Int_Float()
|
| D | macro_unary_double.cpp | 112 return BuildKernel(info->nameInCode, vectorSize, info->threadCount, in BuildKernelFn() 143 cl_uint threadCount; // Number of worker threads member 355 "ThreadCount:%2u\n", in Test() 357 job->threadCount); in Test() 379 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Double() 381 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Double() 403 test_info.k[i].resize(test_info.threadCount, nullptr); in TestMacro_Int_Double() 406 test_info.tinfo.resize(test_info.threadCount); in TestMacro_Int_Double() 407 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestMacro_Int_Double() 448 BuildKernelInfo build_info{ test_info.threadCount, test_info.k, in TestMacro_Int_Double()
|
| /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/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/cpp/ |
| D | Histogram.cpp | 44 uint32_t threadCount, const Restriction* restriction); 62 uint32_t threadCount, const float* coefficients, 71 uint32_t threadCount, const Restriction* restriction) in HistogramTask() argument 74 mSums(256 * paddedSize(vectorSize) * threadCount) { 75 mThreadCount = threadCount; 153 uint32_t threadCount, const float* coefficients, in HistogramDotTask() argument 155 : Task{sizeX, sizeY, vectorSize, true, restriction}, mIn{in}, mSums(256 * threadCount, 0) { in HistogramDotTask() 156 mThreadCount = threadCount;
|
| /external/tensorflow/tensorflow/lite/swift/Sources/ |
| D | Interpreter.swift | 94 if let threadCount = $0.threadCount, threadCount > 0 { variable 95 TfLiteInterpreterOptionsSetNumThreads(cInterpreterOptions, Int32(threadCount)) 320 if let threadCount = options.threadCount, threadCount > 0 { in configureXNNPack() variable 321 cXNNPackOptions.num_threads = Int32(threadCount) in configureXNNPack() 334 public var threadCount: Int? = nil variable
|
| /external/dng_sdk/source/ |
| D | dng_opcodes.h | 339 /// \param threadCount The number of threads to be used to perform the 342 /// \param threadCount Total number of threads that will be used for 359 uint32 /* threadCount */, in Prepare() 376 /// between 0 and threadCount - 1 for the threadCount passed to Prepare 441 /// \param threadCount The number of threads to be used to perform the 444 /// \param threadCount Total number of threads that will be used for 461 uint32 /* threadCount */, in Prepare() 479 /// between 0 and threadCount - 1 for the threadCount passed to Prepare
|