• Home
  • Raw
  • Download

Lines Matching refs:sessionId

328     uint32_t sessionId = ++sessionIdCounter_;  in CreateSession()  local
329 ctx->id = sessionId; in CreateSession()
330 ctx->name = "session-" + std::to_string(sessionId); in CreateSession()
333 CHECK_EXPRESSION_TRUE(AddSessionContext(sessionId, ctx), "sessionId conflict!"); in CreateSession()
346 response->set_session_id(sessionId); in CreateSession()
348 PROFILER_LOG_INFO(LOG_CORE, "CreateSession %d %u done!", request->request_id(), sessionId); in CreateSession()
352 bool ProfilerService::AddSessionContext(uint32_t sessionId, const SessionContextPtr& sessionCtx) in AddSessionContext() argument
355 CHECK_TRUE(sessionContext_.count(sessionId) == 0, false, "sessionId already exists!"); in AddSessionContext()
356 sessionContext_[sessionId] = sessionCtx; in AddSessionContext()
360 ProfilerService::SessionContextPtr ProfilerService::GetSessionContext(uint32_t sessionId) const in GetSessionContext()
363 auto it = sessionContext_.find(sessionId); in GetSessionContext()
371 bool ProfilerService::RemoveSessionContext(uint32_t sessionId) in RemoveSessionContext() argument
374 auto it = sessionContext_.find(sessionId); in RemoveSessionContext()
469 uint32_t sessionId = request->session_id(); in StartSession() local
470 PROFILER_LOG_INFO(LOG_CORE, "StartSession %d %u start", request->request_id(), sessionId); in StartSession()
486 auto ctx = GetSessionContext(sessionId); in StartSession()
511 PROFILER_LOG_INFO(LOG_CORE, "StartSession %d %u done!", request->request_id(), sessionId); in StartSession()
526 uint32_t sessionId = request->session_id(); in FetchData() local
527 PROFILER_LOG_INFO(LOG_CORE, "FetchData %d %u start", request->request_id(), sessionId); in FetchData()
529 auto ctx = GetSessionContext(sessionId); in FetchData()
541 ctx = GetSessionContext(sessionId); in FetchData()
571 PROFILER_LOG_INFO(LOG_CORE, "FetchData %d %u done!", request->request_id(), sessionId); in FetchData()
580 uint32_t sessionId = request->session_id(); in StopSession() local
581 PROFILER_LOG_INFO(LOG_CORE, "StopSession %d %u start", request->request_id(), sessionId); in StopSession()
583 auto ctx = GetSessionContext(sessionId); in StopSession()
590 PROFILER_LOG_INFO(LOG_CORE, "StopSession %d %u done!", request->request_id(), sessionId); in StopSession()
600 uint32_t sessionId = request->session_id(); in DestroySession() local
601 PROFILER_LOG_INFO(LOG_CORE, "DestroySession %d %u start", request->request_id(), sessionId); in DestroySession()
603 auto ctx = GetSessionContext(sessionId); in DestroySession()
606 CHECK_EXPRESSION_TRUE(RemoveSessionContext(sessionId), "remove session FAILED!"); in DestroySession()
609 PROFILER_LOG_INFO(LOG_CORE, "DestroySession %d %u done!", request->request_id(), sessionId); in DestroySession()
634 uint32_t sessionId = request->session_id(); in KeepSession() local
635 PROFILER_LOG_INFO(LOG_CORE, "KeepSession %d %u start", request->request_id(), sessionId); in KeepSession()
637 auto ctx = GetSessionContext(sessionId); in KeepSession()
652 PROFILER_LOG_INFO(LOG_CORE, "KeepSession %d %u done!", request->request_id(), sessionId); in KeepSession()