I am trying to wrap python functions as it is recommended:
And it works. But when I try to pass it to the multiprocessing module:
from multiprocessing import Process
pr = Process(target=func, args=(x))
It stops counting this func() as transactions. It still shows CPU usage but not correctly.
Is there a way to monitor func() in this situation?