From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Sun, 4 Sep 2011 18:47:35 +0100 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] high precision timings Topicbox-Message-UUID: 18cce4ba-ead7-11e9-9d60-3106f5b1d025 after the recent discussions on nsec()... does anyone already have the snippet of code to do fine grained timeings on the x86 platform using the hardware performance counters? I would use nsec() but I'am timing systemcalls so I expect my results would be swamped by nsec()'s performance. Thanks -Steve