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

Create a checkpoint struct dedicated to time information

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines
    • 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@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: