title: How expensive is calling time(NULL) in server loop?
body: <p>I'm reviewing a server implementation that calls time(NULL) for each request being processed. I wonder what impact does calling time(NULL) has on a typical Linux system and if there are cheaper commands to determine the day -- or in general how often would you call time()?</p>
  
  <p>Thanks for your opinion on the topic.</p>