Home
last modified time | relevance | path

Searched refs:now_ms (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/metrics/
Devents.cc47 uint64_t now_ms, CuttlefishLogEvent::DeviceType device_type) { in BuildCfLogEvent() argument
48 auto [now_s, now_ns] = ConvertMillisToTime(now_ms); in BuildCfLogEvent()
53 cfEvent->set_session_id(metrics::GenerateSessionId(now_ms)); in BuildCfLogEvent()
107 void AddCfMetricsEventToLog(uint64_t now_ms, CuttlefishLogEvent* cfEvent, in AddCfMetricsEventToLog() argument
109 auto [now_s, now_ns] = ConvertMillisToTime(now_ms); in AddCfMetricsEventToLog()
130 std::unique_ptr<LogRequest> BuildLogRequest(uint64_t now_ms, in BuildLogRequest() argument
134 log_request->set_request_time_ms(now_ms); in BuildLogRequest()
148 logEvent->set_event_time_ms(now_ms); in BuildLogRequest()
157 uint64_t now_ms = metrics::GetEpochTimeMs(); in SendEvent() local
159 auto cfEvent = BuildCfLogEvent(now_ms, device_type); in SendEvent()
[all …]
Dutils.cc52 std::string GenerateSessionId(uint64_t now_ms) { in GenerateSessionId() argument
53 uint64_t now_day = now_ms / 1000 / 60 / 60 / 24; in GenerateSessionId()