Searched refs:threadCount (Results 1 - 14 of 14) sorted by relevance

/haiku/src/apps/processcontroller/
H A DThreadBarMenu.h19 ThreadBarMenu(const char *title, team_id team, int32 threadCount);
H A DThreadBarMenu.cpp18 ThreadBarMenu::ThreadBarMenu(const char *title, team_id team, int32 threadCount) argument
20 fThreadsRecCount(threadCount + EXTRA),
/haiku/src/system/kernel/scheduler/
H A Dscheduler_thread.cpp193 int32 threadCount = fCore->ThreadCount();
195 threadCount /= fCore->CPUCount();
198 if (threadCount < kMaximumQuantumLengthsCount)
199 quantum = std::min(sMaximumQuantumLengths[threadCount], quantum);
243 for (int32 threadCount = 0; threadCount < kMaximumQuantumLengthsCount;
244 threadCount++) {
247 if (threadCount != 0)
248 quantum /= threadCount;
250 sMaximumQuantumLengths[threadCount]
[all...]
H A Dscheduler.cpp817 int32 threadCount = core->ThreadCount(); local
819 threadCount /= core->CPUCount();
822 threadCount -= threadCount * THREAD_MAX_SET_PRIORITY
826 return std::min(std::max(threadCount * gCurrentMode->base_quantum,
/haiku/src/tools/fs_shell/
H A Dsem.cpp74 fssh_get_sem_count(fssh_sem_id id, int32_t *threadCount) argument
76 return get_sem_count(id, (int32*)threadCount);
/haiku/src/tests/system/kernel/unit/lock/
H A DRWLockTests.cpp129 const int threadCount = 8; local
130 thread_id threads[threadCount];
131 for (int i = 0; i < threadCount; i++)
138 for (int i = 0; i < threadCount; i++) {
149 for (int i = 0; i < threadCount; i++)
154 for (int i = 0; i < threadCount; i++) {
/haiku/src/build/libroot/
H A Dsem.cpp154 get_sem_count(sem_id id, int32 *threadCount) argument
159 if (!threadCount)
162 *threadCount = sSemaphores[id].count;
/haiku/src/kits/debugger/elf/
H A DCoreFile.cpp697 uint32 threadCount = _ReadValue<uint32>(data, dataSize); local
709 if (threadCount == 0)
715 if (entrySize == 0 || dataSize == 0 || threadCount > dataSize
718 || threadCount * totalEntrySize >= dataSize) {
725 const char* strings = (const char*)data + threadCount * totalEntrySize;
726 size_t stringsSize = dataSize - threadCount * totalEntrySize;
732 for (uint64 i = 0; i < threadCount; i++) {
/haiku/headers/private/fs_shell/
H A Dfssh_os.h74 int32_t *threadCount);
/haiku/src/apps/debuganalyzer/model/
H A DModel.cpp573 int32 threadCount = 0; local
581 threadCount++;
587 + threadCount * sizeof(CompactThreadSchedulingState));
593 compactState->fThreadCount = threadCount;
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp110 int32 threadCount = fModel->CountThreads(); local
111 fDataArrays = new(std::nothrow) DataArray[threadCount];
112 fIODataArrays = new(std::nothrow) IODataArray[threadCount];
412 int32 threadCount = fModel->CountThreads(); local
413 if (fFilterModel->CountSelectedItems() == threadCount)
419 fFilterModel->SelectItems(0, threadCount, false);
1132 int32 threadCount = fModel->CountThreads(); local
1133 for (int32 i = 0; i < threadCount; i++) {
/haiku/src/bin/debug/profile/
H A Dprofile.cpp769 int32 threadCount = threadManager.CountThreads(); local
770 for (int32 i = 0; i < threadCount; i++) {
835 int32 threadCount = threadManager.CountThreads(); local
836 for (int32 i = 0; i < threadCount; i++) {
/haiku/src/system/kernel/debug/
H A Dcore_dump.cpp799 int32 threadCount = _SetThreadsCoreDumpFlag(true); local
804 status_t error = _Dump(path, threadCount);
825 status_t _Dump(const char* path, int32 threadCount) argument
832 if (!_AllocateThreadStates(threadCount))
/haiku/headers/os/kernel/
H A DOS.h221 extern status_t get_sem_count(sem_id id, int32 *threadCount);

Completed in 162 milliseconds