• Home
  • Raw
  • Download

Lines Matching refs:sessionId

329     uint32_t sessionId = ++sessionIdCounter_;  in CreateSession()  local
330 ctx->id = sessionId; in CreateSession()
331 ctx->name = "session-" + std::to_string(sessionId); in CreateSession()
334 CHECK_EXPRESSION_TRUE(AddSessionContext(sessionId, ctx), "sessionId conflict!"); in CreateSession()
347 response->set_session_id(sessionId); in CreateSession()
349 HILOG_INFO(LOG_CORE, "CreateSession %d %u done!", request->request_id(), sessionId); in CreateSession()
353 bool ProfilerService::AddSessionContext(uint32_t sessionId, const SessionContextPtr& sessionCtx) in AddSessionContext() argument
356 CHECK_TRUE(sessionContext_.count(sessionId) == 0, false, "sessionId already exists!"); in AddSessionContext()
357 sessionContext_[sessionId] = sessionCtx; in AddSessionContext()
361 ProfilerService::SessionContextPtr ProfilerService::GetSessionContext(uint32_t sessionId) const in GetSessionContext()
364 auto it = sessionContext_.find(sessionId); in GetSessionContext()
372 bool ProfilerService::RemoveSessionContext(uint32_t sessionId) in RemoveSessionContext() argument
375 auto it = sessionContext_.find(sessionId); in RemoveSessionContext()
470 uint32_t sessionId = request->session_id(); in StartSession() local
471 HILOG_INFO(LOG_CORE, "StartSession %d %u start", request->request_id(), sessionId); in StartSession()
487 auto ctx = GetSessionContext(sessionId); in StartSession()
509 HILOG_INFO(LOG_CORE, "StartSession %d %u done!", request->request_id(), sessionId); in StartSession()
525 uint32_t sessionId = request->session_id(); in FetchData() local
526 HILOG_INFO(LOG_CORE, "FetchData %d %u start", request->request_id(), sessionId); in FetchData()
528 auto ctx = GetSessionContext(sessionId); in FetchData()
540 ctx = GetSessionContext(sessionId); in FetchData()
570 HILOG_INFO(LOG_CORE, "FetchData %d %u done!", request->request_id(), sessionId); in FetchData()
581 uint32_t sessionId = request->session_id(); in StopSession() local
582 HILOG_INFO(LOG_CORE, "StopSession %d %u start", request->request_id(), sessionId); in StopSession()
584 auto ctx = GetSessionContext(sessionId); in StopSession()
587 HILOG_INFO(LOG_CORE, "StopSession %d %u done!", request->request_id(), sessionId); in StopSession()
598 uint32_t sessionId = request->session_id(); in DestroySession() local
599 HILOG_INFO(LOG_CORE, "DestroySession %d %u start", request->request_id(), sessionId); in DestroySession()
601 auto ctx = GetSessionContext(sessionId); in DestroySession()
604 CHECK_EXPRESSION_TRUE(RemoveSessionContext(sessionId), "remove session FAILED!"); in DestroySession()
607 HILOG_INFO(LOG_CORE, "DestroySession %d %u done!", request->request_id(), sessionId); in DestroySession()
635 uint32_t sessionId = request->session_id(); in KeepSession() local
636 HILOG_INFO(LOG_CORE, "KeepSession %d %u start", request->request_id(), sessionId); in KeepSession()
638 auto ctx = GetSessionContext(sessionId); in KeepSession()
653 HILOG_INFO(LOG_CORE, "KeepSession %d %u done!", request->request_id(), sessionId); in KeepSession()