Add temporal profile traces using reservoir sampling.
Declared in <llvm/ProfileData/InstrProfWriter.h>
void
addTemporalProfileTraces(
SmallVectorImpl<TemporalProfTraceTy>& SrcTraces,
uint64_t SrcStreamSize);
SrcStreamSize is the total number of temporal profiling traces the source has seen.
| Name | Description |
|---|---|
| SrcTraces | Temporal traces to merge into this writer. |
| SrcStreamSize | Total number of traces observed by the source. |