Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3802

Add a HAVE_RDTSC configure time option

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Storage NYC 2018-06-18

      Description

      We recently added support for using the fast clock rdtsc instruction where it's available (most places). It's currently gated on checking some architectures specifically:

      #if (defined __i386) || (defined __amd64)
      

      We use that check in more than one place - it would be clearer if there was a HAVE_RDTSC define in wiredtiger_config.h instead.

        Attachments

          Activity

            People

            • Assignee:
              daniel.gottlieb Daniel Gottlieb
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: