[Varnish] #609: use more efficient implementation for TIM_mono on Solaris (if gethrtime() exists)

Varnish varnish-bugs at projects.linpro.no
Wed Jan 6 18:38:54 CET 2010


#609: use more efficient implementation for TIM_mono on Solaris (if gethrtime()
exists)
-------------------------+--------------------------------------------------
 Reporter:  slink        |        Owner:  phk   
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:        
Component:  varnishd     |      Version:  trunk 
 Severity:  normal       |   Resolution:  fixed 
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by tfheen):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [4427]) Use gethrtimer rather than clock_gettime if available

 gethrtimer does not use a syscall on Solaris and is therefore faster.
 Prefer gethrtimer if it exists

 Fixes #609

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/609#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list