My application runs on a pSOS operating system. The code is compiled with Diab C compiler.
The application defines a number of counters which have been declared as
unsigned int call_count;
As there are chances of some of these overflowing in a small time frame, I have decided to declare the counters as
unsigned long long int call_count;
This I believe would not overflow at least during my lifetime.
My question is this conversion harmless? Are there any overhead that I need to concerned with. When the application is under stress the call_count would be incremented incessantly. Can performance take a hit ? A SNMP manager would be querying these counters every 15 seconds as well.