Skip to content
callcount

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

third-party

The 3383rd most-called third-party method by production calls. Called 192 times across 1 modules; 175 of those run outside tests and generated code.

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

prod calls
175
non-test, non-generated
all calls
192
total callsites
modules
1
distinct callers
in loop
5%
of prod calls
in tests
9%
17 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 192, prioritizing in-loop and non-test usage. We link to source, never display it.

TimeSource.Now · 12 of 192 callsites
  • go.temporal.io/server @v1.31.2

    service/history/queues/scheduler_monitor.go:129

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

    service/history/queues/memory_scheduled_queue.go:134

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

    service/history/queues/memory_scheduled_queue.go:142

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

    service/history/queues/memory_scheduled_queue.go:150

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

    common/tasks/execution_queue_scheduler.go:198

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

    common/tasks/execution_queue_scheduler.go:209

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

    service/history/replication/task_processor.go:233

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

    service/history/workflow/mutable_state_impl.go:3110

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

    service/history/workflow/mutable_state_impl.go:9270

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

    service/history/timer_queue_task_executor_base_test.go:218

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

    common/clock/hybrid_logical_clock/hybrid_logical_clock.go:17

  • go.temporal.io/server @v1.31.2

    service/history/api/replication/status.go:20

top callers

The modules that reach for it

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

  • go.temporal.io/server192100%