Specify a search directory for source files.

GUI Equivalent

Dialog Box: Source Search

Syntax

-source-search-dir DIR

Arguments

Argument

Description

DIR

Specify the name of the search directory to add.

Default

Only default search directories are used.

Actions Modified

report

Description

This option specifies search directories for source files. Use this option to specify the location of source files required to provide correct source view report with the source-object option.

During data collection, the result directory is set as the default search directory for the collected result.

Alternate Options

search-dir
Specify search directories for symbol and binary files.

Example

This command opens the source view with the hotspots performance metrics for the foo function and uses the directory to search for source files.

$ amplxe-cl -report hotspots  -source-object function=foo -r r001hs -source-search-dir /home/my_sources
有关编译器优化的更完整信息,请参阅优化通知
选择粘滞按钮颜色: 
Orange (only for download buttons)