How to measure http(s) requests sent per second sent by my executable?

I have a C++ executable which makes use of cURL to make HTTP(s) requests to an external server. Is there a good way for me to determine the requests sent per second? Any way or tool will be helpful.


Increment a counter every time the application makes a request. Have a separate timer that checks and resets the counter every second. Average the values over time as needed.