MCPcopy
hub / github.com/faust-streaming/faust / secs_to_ms

Method secs_to_ms

faust/sensors/monitor.py:331–333  ·  view source on GitHub ↗

Convert seconds to milliseconds.

(self, timestamp: float)

Source from the content-addressed store, hash-verified

329 return self.secs_to_ms(self.secs_since(start_time))
330
331 def secs_to_ms(self, timestamp: float) -> float:
332 """Convert seconds to milliseconds."""
333 return timestamp * 1000.0
334
335 @Service.task
336 async def _sampler(self) -> None:

Callers 6

ms_sinceMethod · 0.95
on_stream_event_outMethod · 0.80
on_stream_event_outMethod · 0.80
on_stream_event_outMethod · 0.80

Calls

no outgoing calls

Tested by 2