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