CoAgent8 - Source API
    Preparing search index...

    Function computeMergedIntervalsDuration

    • Merges overlapping and nested intervals to compute exact active wall-clock duration.

      Parameters

      • intervals: { end: number; start: number }[]

        List of intervals with start and end times in milliseconds.

      Returns number

      Total non-overlapping active wall duration in rounded milliseconds.