Home
last modified time | relevance | path

Searched refs:threadNum (Results 1 - 10 of 10) sorted by relevance

/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dmultithread_constructor.c46 NOINLINE int MultiThreadConstructor(const int threadNum) in MultiThreadConstructor() argument
48 pthread_t t[threadNum]; in MultiThreadConstructor()
49 int threadID[threadNum]; in MultiThreadConstructor()
51 for (int i = 0; i < threadNum; ++i) { in MultiThreadConstructor()
64 NOINLINE int MultiThreadConstructorForThreadCrash(const int threadNum) in MultiThreadConstructorForThreadCrash() argument
66 pthread_t t[threadNum]; in MultiThreadConstructorForThreadCrash()
67 int threadID[threadNum]; in MultiThreadConstructorForThreadCrash()
69 int threadIDCrash = threadNum; in MultiThreadConstructorForThreadCrash()
71 for (int i = 0; i < threadNum; ++i) { in MultiThreadConstructorForThreadCrash()
H A Dmultithread_constructor.h30 int MultiThreadConstructor(const int threadNum);
31 int MultiThreadConstructorForThreadCrash(const int threadNum);
H A Ddfx_processdump_test.cpp71 static pid_t CreateMultiThreadProcess(int threadNum) in CreateMultiThreadProcess() argument
77 (void)MultiThreadConstructor(threadNum); in CreateMultiThreadProcess()
82 static pid_t CreateMultiThreadForThreadCrash(int threadNum) in CreateMultiThreadForThreadCrash() argument
88 (void)MultiThreadConstructorForThreadCrash(threadNum); in CreateMultiThreadForThreadCrash()
93 static pid_t CreateMultiThreadForThreadCrashWithOpen(int threadNum, int openNum) in CreateMultiThreadForThreadCrashWithOpen() argument
102 (void)MultiThreadConstructorForThreadCrash(threadNum); in CreateMultiThreadForThreadCrashWithOpen()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dstring_utils_test.cpp82 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() argument
85 for (int i = 0; i < threadNum; ++i) { in TestThread()
101 int threadNum = 3; in HWTEST_F() local
102 int result = num + threadNum; in HWTEST_F()
104 TestThread(&num, threadNum, &lock); in HWTEST_F()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_hardware_info.cpp161 size_t threadNum = in GetHardwareUsage() local
163 if (threadNum == 0) { in GetHardwareUsage()
164 threadNum = 1; in GetHardwareUsage()
166 size_t groupSize = (size - 1) / threadNum + 1; in GetHardwareUsage()
168 for (size_t i = 0; i < threadNum; i++) { in GetHardwareUsage()
H A Dmemory_util.cpp112 size_t MemoryUtil::GetMaxThreadNum(const size_t &threadNum) in GetMaxThreadNum() argument
117 maxThreadNum = threadNum; in GetMaxThreadNum()
118 } else if (hardwareThreads < threadNum) { in GetMaxThreadNum()
121 maxThreadNum = threadNum; in GetMaxThreadNum()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dstring_utils_test.cpp80 void TestThread(int* num, int threadNum, std::mutex* mutex) in TestThread() argument
83 for (int i = 0; i < threadNum; ++i) { in TestThread()
99 int threadNum = 3; in HWTEST_F() local
100 int result = num + threadNum; in HWTEST_F()
102 TestThread(&num, threadNum, &mutex); in HWTEST_F()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
H A Dmemory_util.h46 size_t GetMaxThreadNum(const size_t &threadNum);
/base/hiviewdfx/hiview/base/event_publish/include/
H A Dapp_event_handler.h134 uint32_t threadNum = 0; member
/base/hiviewdfx/hiview/base/event_publish/
H A Dapp_event_handler.cpp183 AddValueToJsonString("num", event.threadNum, jsonStr, true); in PostEvent()

Completed in 5 milliseconds