By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

How to count the number of times a function runs

P: 1
What can I use when I want to count how many times a function runs?
Aug 13 '07 #1
Share this Question
Share on Google+
1 Reply


100+
P: 147
What can I use when I want to count how many times a function runs?
One way is to use a static variable within your function and increment it each time the function runs.
Aug 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.