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

Methods

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

Declared at: llvm/include/llvm/ProfileData/SampleProf.h:634