[terminal] IJPL-182482 Report latency in milliseconds instead of microseconds

Microsecond changes are not actionable in our case.

GitOrigin-RevId: 7bc6fa5b8d03eef72172f31a2f39788ac1a512f2
This commit is contained in:
Konstantin Hudyakov
2025-04-15 07:32:53 +00:00
committed by intellij-monorepo-bot
parent 0d49455fe1
commit d27e7a6e4e
@@ -31,7 +31,7 @@ object ReworkedTerminalUsageCollector : CounterUsagesCollector() {
private val CHAR_INDEX = EventFields.Long("char_index")
private val FIRST_CHAR_INDEX = EventFields.Long("first_char_index")
private val LAST_CHAR_INDEX = EventFields.Long("last_char_index")
private val DURATION_FIELD = EventFields.createDurationField(DurationUnit.MICROSECONDS, "duration_micros")
private val DURATION_FIELD = EventFields.createDurationField(DurationUnit.MILLISECONDS, "duration_millis")
private val REPAINTED_FIELD = EventFields.Boolean("editor_repainted")
private val localShellStartedEvent = GROUP.registerEvent("local.exec",