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

Add a HAVE_RDTSC configure time option

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None
    • 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

            daniel.gottlieb@mongodb.com Daniel Gottlieb
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: