[tor-bugs] #25927 [Core Tor/Tor]: Refactor approx_time(); remove the need for gettimeofday_cached().

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 26 13:13:01 UTC 2018


#25927: Refactor approx_time(); remove the need for gettimeofday_cached().
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  034-roadmap-subtask,
     Severity:  Normal   |  034-triage-20180328, 034-included-20180328
Actual Points:           |  Parent ID:  #25375
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor8               |
-------------------------+-------------------------------------------------
 approx_time() should be done the way we currently do
 gettimeofday_cached().  gettimeofday_cached() should be removed entirely.

 This will improve our performance a little, and improve our code a lot.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25927>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list