#include <Callsite.h>

Public Member Functions | |
Constructors & destructor | |
| Callsite (ident_t id, const std::string &file, line_t line, Region *callee) | |
Get call site information | |
| std::string | get_file () const |
| line_t | get_line () const |
| Region * | get_callee () const |
The numerical identifiers of the individual call sites are globally defined and continuously enumerated, i.e., the ID is element of [0,#call_sites-1].
Creates a new instance and sets data to the given values.
| id | Call site identifier | |
| file | Name of the file in which the call site is located | |
| line | Line number of the call site location | |
| callee | Source code region to be entered |
| Region * get_callee | ( | ) | const |
Returns the source code region to be entered.
| string get_file | ( | ) | const |
Returns the name of the file in which the call site is located.
| line_t get_line | ( | ) | const |
Returns the source code line number of the call site location.
![]() |
Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre |