sysUptime uses gettimeofday
Pushpa Thimmaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <CAASqVJWNpCgo4To5eCxFAmbdRTTOh-+=mPMEyWtMdM-NikPkyA__36905.1331458197$1522221524$gmane$org@mail.gmail.com> |
Hi All, I believed that sysUpTime is counter that increments every seconds. But In net-snmp code , sysUpTime being calculated as difference between 'snmpd-starttime' and 'current time' . I would like to know reason for sysUpTime been calculated as difference in time instead of incremental-counter. Is there any constraints ? Thank you, Pushpa Thimmaiah ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders