diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-05-27 16:12:35 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-05-27 16:12:35 +0200 |
commit | c3f5387d9d8d3fd36e8bcf562c1ad4cc99e38a91 (patch) | |
tree | 821a3602256874478939d07c2bde9edd874b7c8a /src/Flowgraph.cpp | |
parent | 6babef7df913dc91066bf1ac8c7a1ad6b43acb3d (diff) | |
download | dabmod-c3f5387d9d8d3fd36e8bcf562c1ad4cc99e38a91.tar.gz dabmod-c3f5387d9d8d3fd36e8bcf562c1ad4cc99e38a91.tar.bz2 dabmod-c3f5387d9d8d3fd36e8bcf562c1ad4cc99e38a91.zip |
Fix process time statistics print
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r-- | src/Flowgraph.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp index 8e76cae..c199945 100644 --- a/src/Flowgraph.cpp +++ b/src/Flowgraph.cpp @@ -152,14 +152,14 @@ Flowgraph::~Flowgraph() fprintf(stderr, "Process time:\n"); for (const auto &node : nodes) { - fprintf(stderr, " %30s: %10u us (%2.2f %%)\n", + fprintf(stderr, " %30s: %10lu us (%2.2f %%)\n", node->plugin()->name(), - (unsigned)node->processTime(), + node->processTime(), node->processTime() * 100.0 / myProcessTime); } - fprintf(stderr, " %30s: %10u us (100.00 %%)\n", "total", - (unsigned)myProcessTime); + fprintf(stderr, " %30s: %10lu us (100.00 %%)\n", "total", + myProcessTime); } } |