How can I calculate how many times function has been called for each thread?
So suppose that there are many flows, which are calling the same function. I have to change them all in order to pass some parameter, which will keep the the number of calls. But I am looking for the ways to not modify the functions signature, but instead keeping thread local variables and printing its value from some time.