Type Alias ittapi_sys::LineNumberInfo

source ·
pub type LineNumberInfo = _LineNumberInfo;
Expand description

@brief Description of a single entry in the line number information of a code region. @details A table of line number entries gives information about how the reported code region is mapped to source file. Intel(R) VTune(TM) Amplifier uses line number information to attribute the samples (virtual address) to a line number. \n It is acceptable to report different code addresses for the same source line: @code Offset LineNumber 1 2 12 4 15 2 18 1 21 30

VTune Amplifier constructs the following table using the client data

Code subrange Line number 0-1 2 1-12 4 12-15 2 15-18 1 18-21 30 @endcode

Aliased Type§

struct LineNumberInfo {
    pub Offset: u32,
    pub LineNumber: u32,
}

Fields§

§Offset: u32

<\brief Offset from the begining of the code region.

§LineNumber: u32

<\brief Matching source line number offset (from beginning of source file).