Searched refs:threadInfo (Results 1 – 4 of 4) sorted by relevance
| /developtools/profiler/device/plugins/cpu_plugin/src/ |
| D | test_main.cpp | 64 ThreadInfo threadInfo = cpuData.thread_info()[i]; in Report() local 65 std::cout << "tid : " << threadInfo.tid() << std::endl; in Report() 66 std::cout << "thread_name : " << threadInfo.thread_name() << std::endl; in Report() 67 std::cout << "thread_state : " << threadInfo.thread_state() << std::endl; in Report() 68 … std::cout << "prev_thread_cpu_time_ms : " << threadInfo.prev_thread_cpu_time_ms() << std::endl; in Report() 69 … std::cout << "thread_cpu_time_ms : " << threadInfo.thread_cpu_time_ms() << std::endl; in Report()
|
| D | cpu_data_plugin.cpp | 550 void CpuDataPlugin::WriteThread(ThreadInfo& threadInfo, const char* pFile, uint32_t fileLen, int32_… in WriteThread() argument 567 threadInfo.set_thread_name(curWord); in WriteThread() 571 threadInfo.set_thread_state(state); in WriteThread() 590 threadInfo.set_prev_thread_cpu_time_ms(prevThreadCpuTimeMap_[tid]); in WriteThread() 591 threadInfo.set_thread_cpu_time_ms(usageTime); in WriteThread() 593 threadInfo.set_tid(tid); in WriteThread() 595 auto* timestamp = threadInfo.mutable_timestamp(); in WriteThread() 609 auto* threadInfo = data.add_thread_info(); in WriteSingleThreadInfo() local 610 WriteThread(*threadInfo, (char*)buffer_, ret, tid); in WriteSingleThreadInfo()
|
| /developtools/profiler/device/plugins/cpu_plugin/test/unittest/ |
| D | cpu_data_plugin_unittest.cpp | 355 ThreadInfo threadInfo = cpuData.thread_info()[i]; variable 356 EXPECT_EQ(threadInfo.tid(), g_tidStat[i].tid); 357 EXPECT_STREQ(threadInfo.thread_name().c_str(), g_tidStat[i].name.c_str()); 358 EXPECT_EQ(threadInfo.thread_state(), g_tidStat[i].state); 359 EXPECT_EQ(threadInfo.thread_cpu_time_ms(), threadCpuTime); 360 EXPECT_EQ(threadInfo.prev_thread_cpu_time_ms(), 0); 757 auto* threadInfo = cpuData.add_thread_info(); variable 759 cpuPlugin.WriteThread(*threadInfo, threadVec1[i].c_str(), threadVec1[i].length(), tid); 775 auto* threadInfo = cpuData.add_thread_info(); variable 777 cpuPlugin.WriteThread(*threadInfo, threadVec2[i].c_str(), threadVec2[i].length(), tid); [all …]
|
| /developtools/profiler/device/plugins/cpu_plugin/include/ |
| D | cpu_data_plugin.h | 88 void WriteThread(ThreadInfo& threadInfo, const char* pFile, uint32_t fileLen, int32_t tid);
|