MCPcopy Create free account
hub / github.com/celery/celery / memsample

Function memsample

celery/worker/control.py:547–550  ·  view source on GitHub ↗

Sample current RSS memory usage.

(state, **kwargs)

Source from the content-addressed store, hash-verified

545
546@inspect_command()
547def memsample(state, **kwargs):
548 """Sample current RSS memory usage."""
549 from celery.utils.debug import sample_mem
550 return sample_mem()
551
552
553@inspect_command(

Callers

nothing calls this directly

Calls 1

sample_memFunction · 0.90

Tested by

no test coverage detected