Searched refs:current_timestamp (Results 1 – 2 of 2) sorted by relevance
79 void CheckSessionHeartbeats(std::chrono::steady_clock::time_point current_timestamp);208 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local211 HandleHeartbeat(active_session, current_timestamp); in RequestWorker()215 HandleAcquiring(std::move(acquire_request), current_timestamp); in RequestWorker()222 if (current_timestamp >= nextHeartbeatCheckTime) { in RequestWorker()224 CheckSessionHeartbeats(current_timestamp); in RequestWorker()332 std::chrono::steady_clock::time_point current_timestamp) { in CheckSessionHeartbeats() argument347 if (current_session_info.mLastHeartbeat + kSessionHeartbeatTimeout < current_timestamp) { in CheckSessionHeartbeats()356 << ", current timestamp is " << timestamp_to_sec(current_timestamp) in CheckSessionHeartbeats()
232 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local234 (current_timestamp > nextHeartbeatTime && !mActiveSessions.empty()); in RequestWorker()245 auto current_timestamp = std::chrono::steady_clock::now(); in RequestWorker() local246 if (current_timestamp > nextHeartbeatTime) { in RequestWorker()247 nextHeartbeatTime = current_timestamp + 1s; in RequestWorker()