class SampleSorter
Declaration
template <class LocationT, class SampleT>
class SampleSorter { /* full declaration omitted */ };
Description
Sort a LocationT->SampleT map by LocationT. It produces a sorted list of <LocationT , SampleT> records by ascending order of LocationT.
Declared at: llvm/include/llvm/ProfileData/SampleProf.h:621
Templates
- LocationT
- SampleT
Method Overview
- public SampleSorter<LocationT, SampleT>(const std::map<LocationT, SampleT> & Samples)
- public const llvm::sampleprof::SampleSorter::SamplesWithLocList & get() const
Methods
¶SampleSorter<LocationT, SampleT>(
const std::map<LocationT, SampleT>& Samples)
SampleSorter<LocationT, SampleT>(
const std::map<LocationT, SampleT>& Samples)
Declared at: llvm/include/llvm/ProfileData/SampleProf.h:626
Parameters
- const std::map<LocationT, SampleT>& Samples
¶const llvm::sampleprof::SampleSorter::
SamplesWithLocList&
get() const
const llvm::sampleprof::SampleSorter::
SamplesWithLocList&
get() const
Declared at: llvm/include/llvm/ProfileData/SampleProf.h:634