diff --git a/miniapp/miniapp.cpp b/miniapp/miniapp.cpp index d38d3999e7fd24d45df181d65b94c5596c93281a..9e96afa63a6a98cec68575d98c4e5683093e76de 100644 --- a/miniapp/miniapp.cpp +++ b/miniapp/miniapp.cpp @@ -88,13 +88,13 @@ int main(int argc, char** argv) { m.set_global_spike_callback(file_export_type::do_nothing); m.set_local_spike_callback( [&](const std::vector<spike_type>& spikes) { - file_exporter->do_export(spikes); + file_exporter->output(spikes); }); } else { m.set_global_spike_callback( [&](const std::vector<spike_type>& spikes) { - file_exporter->do_export(spikes); + file_exporter->output(spikes); }); m.set_local_spike_callback(file_export_type::do_nothing); } diff --git a/src/io/exporter.hpp b/src/io/exporter.hpp index 85f7f212893d5a516b9b217c2cc5b69f45c6859e..de093aee25043fc02a75bb1e1c416bd6071ddf8f 100644 --- a/src/io/exporter.hpp +++ b/src/io/exporter.hpp @@ -22,7 +22,7 @@ public: using spike_type = spike<cell_member_type, time_type>; // Performs the export of the data - virtual void do_export(const std::vector<spike_type>&) = 0; + virtual void output(const std::vector<spike_type>&) = 0; // Returns the status of the exporter virtual bool good() const = 0; diff --git a/src/io/exporter_spike_file.hpp b/src/io/exporter_spike_file.hpp index 56269e2968306cad3ecd203818fd4b82bba52fd3..032d847fedbf49c8a9299f030a21c3d81d3b5ae7 100644 --- a/src/io/exporter_spike_file.hpp +++ b/src/io/exporter_spike_file.hpp @@ -51,7 +51,7 @@ public: // Performs the a export of the spikes to file // one id and spike time with 4 decimals after the comma on a // line space separated - void do_export(const std::vector<spike_type>& spikes) override + void output(const std::vector<spike_type>& spikes) override { for (auto spike : spikes) { char linebuf[45]; diff --git a/tests/performance/io/disk_io.cpp b/tests/performance/io/disk_io.cpp index 5182b0a8035655b87dc4ac9812796487f1c9868c..2ca05c8b8caa9357927839fae41b7102847c3dd6 100644 --- a/tests/performance/io/disk_io.cpp +++ b/tests/performance/io/disk_io.cpp @@ -100,7 +100,7 @@ int main(int argc, char** argv) for (auto idx = 0; idx < nr_repeats; ++idx) { auto time_start = timer::tic(); - exporter.do_export(spikes); + exporter.output(spikes); auto run_time = timer::toc(time_start); time_total += run_time; timings_arr[idx] = run_time;