samedi 30 novembre 2019

How to calculate number of calls per second of a function?

I'm using C++ on linux and I'd like to know how to calculate how many times a function has been called each second. I think analogous to how frame rates are done in video games. Unlike the other questions I saw, I'm not rate limiting the number of calls. Just looking for a way to report how many times a second it gets called.

Aucun commentaire:

Enregistrer un commentaire