#include <Location.h>

Public Member Functions | |
Constructors & destructor | |
| Location (ident_t id, Machine *machine, Node *node, Process *process, Thread *thread) | |
Get location information | |
| Machine * | get_machine () const |
| Node * | get_node () const |
| Process * | get_process () const |
| Thread * | get_thread () const |
Related Functions | |
| (Note that these are not member functions.) | |
| ostream & | operator<< (ostream &stream, const Location &item) |
The numerical identifiers of the individual locations are globally defined and continuously enumerated, i.e., the ID is element of [0,#locations-1].
Creates a new instance and initializes it with the given values. In addition, the cross-references between the different entities in the system hierarchy are created.
| id | Location identifier | |
| machine | Machine the node belongs to | |
| node | Node the process is running on | |
| process | Process the thread belongs to | |
| thread | Thread corresponding to the location |
| Machine * get_machine | ( | ) | const |
Returns the machine this location belongs to.
| Node * get_node | ( | ) | const |
Returns the node this location belongs to.
| Process * get_process | ( | ) | const |
Returns the process this location belongs to.
| Thread * get_thread | ( | ) | const |
Returns the thread this location corresponds to.
| ostream & operator<< | ( | std::ostream & | stream, | |
| const Location & | item | |||
| ) | [related] |
Writes the location information stored for the given item consisting of the machine, node, process, and thread (including IDs and names) to the output stream stream.
| stream | Output stream | |
| item | Location instance |
![]() |
Copyright © 1998–2009 Forschungszentrum Jülich, Jülich Supercomputing Centre |