title: How to calculate CPU usage of each HTTP request
body: <p>I want to get the CPU usage of each individual request sent to my local Apache server. I am using top to capture the CPU usage but it is not that reliable, because most of the times it captures 0 as CPU usage. I have checked utilities like psutil etc but they did not work?</p>
  
  <p>Is there anyway (some code or package in Go) that can be helpful in this regard?
  P.S the best way for me would be if I can't get CPU usage in access.log file?</p>