Searched refs:sessionConfig (Results 1 – 11 of 11) sorted by relevance
| /developtools/profiler/device/services/profiler_service/src/ |
| D | profiler_service.cpp | 138 if (sessionConfig.session_mode() == ProfilerSessionConfig::OFFLINE) { in StartPluginSessions() 139 uint32_t sampleDuration = sessionConfig.sample_duration(); in StartPluginSessions() 155 if (sessionConfig.keep_alive_time() == 0) { in StartPluginSessions() 174 if (sessionConfig.session_mode() == ProfilerSessionConfig::OFFLINE) { in StopPluginSessions() 205 sessionConfig.set_keep_alive_time(timeout); in SetKeepAliveTime() 215 … std::chrono::milliseconds(sessionConfig.keep_alive_time())); in StartSessionExpireTask() 240 ProfilerSessionConfig sessionConfig = request->session_config(); in CreateSession() local 241 pluginService_->SetProfilerSessionConfig(sessionConfig); in CreateSession() 242 const int nBuffers = sessionConfig.buffers_size(); in CreateSession() 272 bufferConfigs.resize(pluginConfigs.size(), sessionConfig.buffers(0)); in CreateSession() [all …]
|
| /developtools/smartperf_host/ide/test/trace/component/setting/utils/ |
| D | PluginConvertUtils.test.ts | 47 let sessionConfig = { variable 101 sessionConfig: sessionConfig,
|
| /developtools/profiler/device/cmds/src/ |
| D | main.cpp | 113 auto sessionConfig = request->mutable_session_config(); in MakeCreateRequest() local 114 if (!sessionConfig) { in MakeCreateRequest() 122 sessionConfig->set_sample_duration(ks * MS_PER_S); in MakeCreateRequest() 124 } else if (sessionConfig->sample_duration() <= 0) { in MakeCreateRequest() 125 sessionConfig->set_sample_duration(DEFAULT_SESSION_TIME_S * MS_PER_S); in MakeCreateRequest() 128 sessionConfig->set_result_file(outputFile); in MakeCreateRequest() 129 } else if (sessionConfig->result_file() == "") { in MakeCreateRequest() 130 sessionConfig->set_result_file(DEFAULT_OUTPUT_FILE); in MakeCreateRequest() 132 printf("keepSecond: %us, outputFileName: %s\n", sessionConfig->sample_duration() / MS_PER_S, in MakeCreateRequest() 133 sessionConfig->result_file().c_str()); in MakeCreateRequest() [all …]
|
| /developtools/profiler/device/services/profiler_service/test/unittest/ |
| D | profiler_service_test.cpp | 151 auto sessionConfig = request.mutable_session_config(); in CreateOnlineSession() local 152 CHECK_NOTNULL(sessionConfig, 0, "request.mutable_session_config() return nullptr!"); in CreateOnlineSession() 154 sessionConfig->set_session_mode(ProfilerSessionConfig::ONLINE); in CreateOnlineSession() 171 auto sessionConfig = request.mutable_session_config(); in CreateOfflineSession() local 172 CHECK_NOTNULL(sessionConfig, 0, "request.mutable_session_config() return nullptr!"); in CreateOfflineSession() 174 sessionConfig->set_session_mode(ProfilerSessionConfig::OFFLINE); in CreateOfflineSession() 175 sessionConfig->set_result_file("trace.bin"); in CreateOfflineSession() 379 auto sessionConfig = request.mutable_session_config(); variable 380 ASSERT_NE(sessionConfig, nullptr); 381 sessionConfig->set_session_mode(ProfilerSessionConfig::OFFLINE); [all …]
|
| D | profiler_service_performance_test.cpp | 165 auto sessionConfig = createRequest.mutable_session_config(); in SetMemPluginConfig() local 166 ProfilerSessionConfig::BufferConfig* bfs = sessionConfig->add_buffers(); in SetMemPluginConfig() 169 sessionConfig->set_session_mode(ProfilerSessionConfig::ONLINE); in SetMemPluginConfig() 182 auto sessionConfig = createRequest.mutable_session_config(); in SetCpuPluginConfig() local 183 ProfilerSessionConfig::BufferConfig* bfs = sessionConfig->add_buffers(); in SetCpuPluginConfig() 186 sessionConfig->set_session_mode(ProfilerSessionConfig::ONLINE); in SetCpuPluginConfig() 194 auto sessionConfig = createRequest.mutable_session_config(); in SetDiskioPluginConfig() local 195 ProfilerSessionConfig::BufferConfig* bfs = sessionConfig->add_buffers(); in SetDiskioPluginConfig() 198 sessionConfig->set_session_mode(ProfilerSessionConfig::ONLINE); in SetDiskioPluginConfig() 211 auto sessionConfig = createRequest.mutable_session_config(); in SetProcessPluginConfig() local [all …]
|
| /developtools/profiler/device/services/profiler_service/include/ |
| D | profiler_service.h | 94 ProfilerSessionConfig sessionConfig; member
|
| /developtools/smartperf_host/ide/test/trace/component/ |
| D | SpRecordTrace.test.ts | 132 sessionConfig: {
|
| /developtools/smartperf_host/ide/src/trace/component/setting/bean/ |
| D | ProfilerServiceTypes.ts | 78 sessionConfig: ProfilerSessionConfig | undefined; property
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/setting/bean/ |
| D | ProfilerServiceTypes.ts | 78 sessionConfig: ProfilerSessionConfig | undefined; property
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | SpRecordTrace.ts | 1258 let sessionConfig: ProfilerSessionConfig = { variable 1268 sessionConfig: sessionConfig,
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/ |
| D | SpRecordTrace.ts | 1257 let sessionConfig: ProfilerSessionConfig = { variable 1267 sessionConfig: sessionConfig,
|