diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-05 16:45:35 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-05 16:47:06 +0100 |
commit | 7452ff0fd85da423a5be1fdc3873106160c6ccae (patch) | |
tree | 06216a157a17091ca0a7483d4b09923e35c502e3 /src/Flowgraph.cpp | |
parent | f5214c20ae7fdbd4e00599c01bfb1321930fc805 (diff) | |
download | dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.gz dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.bz2 dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.zip |
Debug DEXTER FFT Acccelerator
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r-- | src/Flowgraph.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp index 3d4cdcc..339e326 100644 --- a/src/Flowgraph.cpp +++ b/src/Flowgraph.cpp @@ -27,12 +27,10 @@ #include "Flowgraph.h" #include "PcDebug.h" #include "Log.h" -#include <string> #include <memory> #include <algorithm> #include <sstream> #include <sys/types.h> -#include <stdexcept> #include <assert.h> #include <sys/time.h> @@ -254,15 +252,15 @@ Flowgraph::~Flowgraph() char node_time_sz[1024] = {}; for (const auto &node : nodes) { - snprintf(node_time_sz, 1023, " %30s: %10lu us (%2.2f %%)\n", + snprintf(node_time_sz, 1023, " %30s: %10lld us (%2.2f %%)\n", node->plugin()->name(), - node->processTime(), + (long long)node->processTime(), node->processTime() * 100.0 / myProcessTime); ss << node_time_sz; } - snprintf(node_time_sz, 1023, " %30s: %10lu us (100.00 %%)\n", "total", - myProcessTime); + snprintf(node_time_sz, 1023, " %30s: %10lld us (100.00 %%)\n", "total", + (long long)myProcessTime); ss << node_time_sz; etiLog.level(debug) << ss.str(); |