|
SimGrid
3.17
Versatile Simulation of Distributed Systems
|
#include "src/instr/instr_smpi.h"#include <unordered_map>#include <vector>#include "src/internal_config.h"Macros | |
| #define | TOPAGE(addr) (void *)(((unsigned long)(addr) / xbt_pagesize) * xbt_pagesize) |
| Get the address of the beginning of the memory page where addr is located. More... | |
Enumerations | |
| enum | smpi_priv_strategies { SMPI_PRIVATIZE_NONE = 0, SMPI_PRIVATIZE_MMAP = 1, SMPI_PRIVATIZE_DLOPEN = 2, SMPI_PRIVATIZE_DEFAULT = SMPI_PRIVATIZE_MMAP } |
Functions | |
| smpi_trace_call_location_t * | smpi_process_get_call_location () |
| Returns the last call location (filename, linenumber). More... | |
| smpi_trace_call_location_t * | smpi_trace_get_call_location () |
| These functions will be called from the user code. More... | |
Variables | |
| std::unordered_map< std::string, double > | location2speedup |
| int | smpi_privatize_global_variables |
| #define TOPAGE | ( | addr | ) | (void *)(((unsigned long)(addr) / xbt_pagesize) * xbt_pagesize) |
Get the address of the beginning of the memory page where addr is located.
Note that we use an integer division here, so (a/b)*b is not a, unless ab == 0
This is used when privatizing.
| enum smpi_priv_strategies |
| smpi_trace_call_location_t* smpi_process_get_call_location | ( | ) |
Returns the last call location (filename, linenumber).
Process-specific.
| smpi_trace_call_location_t* smpi_trace_get_call_location | ( | ) |
These functions will be called from the user code.
| std::unordered_map<std::string, double> location2speedup |
| int smpi_privatize_global_variables |