-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2022. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <sstream>
#include <string>
-namespace simgrid {
-namespace instr {
+namespace simgrid::instr {
namespace paje {
void dump_generator_version();
void init();
void define_callbacks();
-void platform_graph_export_graphviz(const std::string& output_filename);
-
void resource_set_utilization(const char* type, const char* name, const char* resource, const std::string& category,
double value, double now, double delta);
void dump_buffer(bool force);
int tag_;
public:
- WaitTIData(int src, int dest, int tag) : TIData("wait"), src_(src), dest_(dest), tag_(tag){};
+ WaitTIData(const std::string& name, int src, int dest, int tag) : TIData(name), src_(src), dest_(dest), tag_(tag){};
std::string print() override
{
}
std::string display_size() override { return "NA"; }
};
-} // namespace instr
-} // namespace simgrid
+} // namespace simgrid::instr
XBT_PRIVATE std::string instr_pid(simgrid::s4u::Actor const& proc);