Skip to content
callcount

go.temporal.io/server/common/clock.TimeSource.Now

third-party

The 3297th most-called third-party method by production calls. Called 226 times across 1 modules; 186 of those run outside tests and generated code.

No change in production calls since 2026-W39.

All of go.temporal.io/server/common/clock → Docs on pkg.go.dev ↗

prod calls
186
non-test, non-generated
all calls
226
total callsites
modules
1
distinct callers
in loop
5%
of prod calls
in tests
18%
40 calls
resolved
0%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Interface method100%Called through an interface. The runtime target may differ.

where it's called

Callsites in the wild

12 representative callsites of 226, prioritizing in-loop and non-test usage. We link to source, never display it.

TimeSource.Now · 12 of 226 callsites
  • go.temporal.io/server @v1.32.0

    service/history/queues/scheduler_monitor.go:129

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/queues/memory_scheduled_queue.go:134

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/queues/memory_scheduled_queue.go:142

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/queues/memory_scheduled_queue.go:150

    in loop
  • go.temporal.io/server @v1.32.0

    common/tasks/execution_queue_scheduler.go:198

    in loop
  • go.temporal.io/server @v1.32.0

    common/tasks/execution_queue_scheduler.go:209

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/replication/task_processor.go:238

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/workflow/mutable_state_impl.go:3337

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/workflow/mutable_state_impl.go:9951

    in loop
  • go.temporal.io/server @v1.32.0

    service/history/timer_queue_task_executor_base_test.go:218

    in loop test
  • go.temporal.io/server @v1.32.0

    service/history/timer_queue_task_executor_base_test.go:231

    in loop test
  • go.temporal.io/server @v1.32.0

    common/clock/hybrid_logical_clock/hybrid_logical_clock.go:19

top callers

The modules that reach for it

The modules that call TimeSource.Now most in this snapshot.

  • go.temporal.io/server226100%