docstr: Cumulative duration of all completed actions in this span tree, by action
  
  See Also
  --------
  duration
  distributed.scheduler.TaskGroup.all_durations
docstr_tok: ["Cumulative","duration","of","all","completed","actions","in","this","span","tree",",","by","action","See","Also","--","--","--","--","duration","distributed.scheduler.TaskGroup.all_durations"]
code: def all_durations(self) -> dict[str, float]:
      """Cumulative duration of all completed actions in this span tree, by action
  
      See Also
      --------
      duration
      distributed.scheduler.TaskGroup.all_durations
      """
      return sum_mappings(
          tg.all_durations for tg in self.traverse_groups()
      )
  
imports: from __future__ import annotations
  import uuid
  import weakref
  from collections import defaultdict
  from collections.abc import Hashable, Iterable, Iterator
  from contextlib import contextmanager
  from itertools import islice
  from typing import TYPE_CHECKING, Any
  import dask.config
  from dask.typing import Key
  from distributed.collections import sum_mappings
  from distributed.itertools import ffill
  from distributed.metrics import time
label_desc: Use image node_id 11 for calling the Span obj's underlying member method code with example usage: obj.all_durations() and returns: sum_mappings