MCPcopy
hub / github.com/celery/celery / memsample

Function memsample

celery/worker/control.py:516–519  ·  view source on GitHub ↗

Sample current RSS memory usage.

(state, **kwargs)

Source from the content-addressed store, hash-verified

514
515@inspect_command()
516def memsample(state, **kwargs):
517 """Sample current RSS memory usage."""
518 from celery.utils.debug import sample_mem
519 return sample_mem()
520
521
522@inspect_command(

Callers

nothing calls this directly

Calls 1

sample_memFunction · 0.90

Tested by

no test coverage detected