Function session_manager_lib::cobalt::log_session_launch_time
source · pub async fn log_session_launch_time(
logger_proxy: MetricEventLoggerProxy,
start_time: Time,
end_time: Time
) -> Result<(), Error>
Expand description
Reports the time elapsed while launching a session.
Parameters
logger_proxy
: The cobalt logger.start_time
: The time when session_manager starts launching a session.end_time
: The time when session_manager has bound to a session. This must be strictly afterstart_time
.
Returns
Ok
if the time elapsed was logged successfully.