SimGrid
3.16
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... | |
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 |
#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.
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 |