Create a checkpoint struct dedicated to time information

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines
    • None
    • 2

      The idea is to move the following fields in a dedicated struct:

          uint64_t scrub_max; /* Checkpoint scrub time min/max */
          uint64_t scrub_min;
          uint64_t scrub_recent; /* Checkpoint scrub time recent/total */
          uint64_t scrub_total;
      
          uint64_t prep_max; /* Checkpoint prepare time min/max */
          uint64_t prep_min;
          uint64_t prep_recent; /* Checkpoint prepare time recent/total */
          uint64_t prep_total;
          uint64_t time_max; /* Checkpoint time min/max */
          uint64_t time_min;
          uint64_t time_recent; /* Checkpoint time recent/total */
          uint64_t time_total;
      
          /* Checkpoint stats and verbosity timers */
          struct timespec prep_end;
          struct timespec prep_start;
          struct timespec timer_start;
          struct timespec timer_scrub_end;
      

      The new struct can be named WT_CKPT_TIME_STATS.

            Assignee:
            Etienne Petrel
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: