[V1][Metrics] Handle preemptions (#13169)

This commit is contained in:
Mark McLoughlin
2025-02-26 20:04:59 -08:00
committed by GitHub
parent 378b3ef6f8
commit cd711c48b2
5 changed files with 48 additions and 19 deletions
+1
View File
@@ -65,6 +65,7 @@ class EngineCoreEventType(enum.IntEnum):
"""The type of engine core request event."""
QUEUED = 1
SCHEDULED = 2
PREEMPTED = 3
class EngineCoreEvent(msgspec.Struct):