|
SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "private.hpp"#include "simgrid/host.h"#include "simgrid/modelchecker.h"#include "smpi_comm.hpp"#include "smpi_process.hpp"#include "src/internal_config.h"#include "src/mc/mc_replay.hpp"#include "src/simix/ActorImpl.hpp"#include <unordered_map>#include <sys/mman.h>#include <cmath>Functions | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (smpi_bench, smpi, "Logging specific to SMPI (benchmarking)") | |
| void | smpi_execute_flops_ (double *flops) |
| void | smpi_execute_ (double *duration) |
| void | smpi_execute_flops (double flops) |
| void | smpi_execute (double duration) |
| void | smpi_execute_benched (double duration) |
| void | smpi_bench_begin () |
| void | smpi_bench_end () |
| static unsigned int | private_sleep (double secs) |
| unsigned int | smpi_sleep (unsigned int secs) |
| int | smpi_usleep (useconds_t usecs) |
| int | smpi_gettimeofday (struct timeval *tv, void *) |
| unsigned long long | smpi_rastro_resolution () |
| unsigned long long | smpi_rastro_timestamp () |
| void | smpi_sample_1 (int global, const char *file, int line, int iters, double threshold) |
| int | smpi_sample_2 (int global, const char *file, int line) |
| void | smpi_sample_3 (int global, const char *file, int line) |
| smpi_trace_call_location_t * | smpi_trace_get_call_location () |
| These functions will be called from the user code. More... | |
| void | smpi_trace_set_call_location (const char *file, const int line) |
| Functions for call location tracing. More... | |
| void | smpi_trace_set_call_location_ (const char *file, int *line) |
| Required for Fortran bindings. More... | |
| void | smpi_trace_set_call_location__ (const char *file, int *line) |
| Required for Fortran if -fsecond-underscore is activated. More... | |
| void | smpi_bench_destroy () |
Variables | |
| double | smpi_cpu_threshold = -1 |
| double | smpi_host_speed |
| shared_malloc_type | smpi_cfg_shared_malloc = shmalloc_global |
| double | smpi_total_benched_time = 0 |
| double | sg_surf_precision |
| std::unordered_map< SampleLocation, LocalData, std::hash< std::string > > | samples |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | smpi_bench | , |
| smpi | , | ||
| "Logging specific to SMPI (benchmarking)" | |||
| ) |
| void smpi_execute_flops_ | ( | double * | flops | ) |
| void smpi_execute_ | ( | double * | duration | ) |
| void smpi_execute_flops | ( | double | flops | ) |
| void smpi_execute | ( | double | duration | ) |
| void smpi_execute_benched | ( | double | duration | ) |
| void smpi_bench_begin | ( | ) |
| void smpi_bench_end | ( | ) |
|
static |
| unsigned int smpi_sleep | ( | unsigned int | secs | ) |
| int smpi_usleep | ( | useconds_t | usecs | ) |
| int smpi_gettimeofday | ( | struct timeval * | tv, |
| void * | |||
| ) |
| unsigned long long smpi_rastro_resolution | ( | ) |
| unsigned long long smpi_rastro_timestamp | ( | ) |
| void smpi_sample_1 | ( | int | global, |
| const char * | file, | ||
| int | line, | ||
| int | iters, | ||
| double | threshold | ||
| ) |
| int smpi_sample_2 | ( | int | global, |
| const char * | file, | ||
| int | line | ||
| ) |
| void smpi_sample_3 | ( | int | global, |
| const char * | file, | ||
| int | line | ||
| ) |
| smpi_trace_call_location_t* smpi_trace_get_call_location | ( | ) |
These functions will be called from the user code.
| void smpi_trace_set_call_location | ( | const char * | file, |
| int | line | ||
| ) |
Functions for call location tracing.
These functions will be called from the user's application! (With the FILE and LINE values passed as parameters.)
| void smpi_trace_set_call_location_ | ( | const char * | file, |
| int * | line | ||
| ) |
Required for Fortran bindings.
Fortran binding.
| void smpi_trace_set_call_location__ | ( | const char * | file, |
| int * | line | ||
| ) |
Required for Fortran if -fsecond-underscore is activated.
Fortran binding + -fsecond-underscore.
| void smpi_bench_destroy | ( | ) |
| double smpi_cpu_threshold = -1 |
| double smpi_host_speed |
| shared_malloc_type smpi_cfg_shared_malloc = shmalloc_global |
| double smpi_total_benched_time = 0 |
| double sg_surf_precision |
| std::unordered_map<SampleLocation, LocalData, std::hash<std::string> > samples |