1 /* Copyright (c) 2010-2017. 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. */
13 typedef struct smpi_trace_call_location {
17 const char* previous_filename;
18 int previous_linenumber;
21 std::string get_composed_key() {
22 return std::string(previous_filename) + ':' + std::to_string(previous_linenumber) + ':' + filename + ':' + std::to_string(linenumber);
26 } smpi_trace_call_location_t;