1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SMPI_PRIVATE_HPP
7 #define SMPI_PRIVATE_HPP
9 #include <unordered_map>
10 #include "src/instr/instr_smpi.h"
14 std::vector<std::pair</* counter name */std::string, /* counter value */long long>> papi_counter_t;
15 XBT_PRIVATE papi_counter_t& smpi_process_counter_data(void);
16 XBT_PRIVATE int smpi_process_event_set(void);
19 extern std::unordered_map<std::string, double> location2speedup;
21 /** @brief Returns the last call location (filename, linenumber). Process-specific. */
22 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void);
23 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();