
                          `histogram for ${name} in each process.`);
        }
      }
    }

    for (const [name, values] of histogramValues) {
      const histogram = new tr.v.Histogram(
          name, getHistogramUnit_(name), getHistogramBoundaries_(name));
      const isLinear = getIsHistogramBinsLinear_(name);
      // If we just put samples at the middle of the bins, their sum may not
      // match the sum we read from traces. Compute how much samples should be
      // shifted so that their sum m