[CDRIVER-284] support rdtscp for counters Created: 28/Jan/14  Updated: 03/May/17  Resolved: 04/Feb/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Christian Hergert Assignee: Christian Hergert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The counter code needs to be cleaned up a bit. We need to merge the prototype that allows for --enable-rdtscp. On Windows, we should investigate the use of shared memory or other systems for counter access out of process.

The counters should fallback to atomic int if sched_getcpu() and rdtscp are not available.



 Comments   
Comment by Christian Hergert [ 04/Feb/14 ]

Done in master.

Generated at Wed Feb 07 21:09:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.