Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
6d3e17235702834f993e12b85ca117628fdc907c
[simgrid.git] / src / smpi / private.hpp
1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved.               */
2
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. */
5
6 #ifndef SMPI_PRIVATE_HPP
7 #define SMPI_PRIVATE_HPP
8
9 #include "src/instr/instr_smpi.h"
10
11 #ifdef HAVE_PAPI
12 typedef 
13     std::vector<std::pair</* counter name */std::string, /* counter value */long long>> papi_counter_t;
14 XBT_PRIVATE papi_counter_t& smpi_process_counter_data(void);
15 XBT_PRIVATE int smpi_process_event_set(void);
16 #endif
17
18 extern std::map<std::string, double> location2speedup;
19
20 /** @brief Returns the last call location (filename, linenumber). Process-specific. */
21 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_process_get_call_location(void);
22 XBT_PUBLIC(smpi_trace_call_location_t*) smpi_trace_get_call_location();
23 #endif