diff options
| author | Comment <tim@gray.(none)> | 2014-02-11 23:46:05 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2014-02-11 23:46:05 +0000 |
| commit | d537803422b5832d1b4a2f3fde6fae8704448638 (patch) | |
| tree | 4b4b1f4d695d90cf4eea5257fb8c7edf8865d578 /rotord/src/graph.cpp | |
| parent | 98deb07854e39eee7861278b3a319b3a0edfb3c8 (diff) | |
fixed analytics
Diffstat (limited to 'rotord/src/graph.cpp')
| -rw-r--r-- | rotord/src/graph.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp index c356916..566d7b0 100644 --- a/rotord/src/graph.cpp +++ b/rotord/src/graph.cpp @@ -250,20 +250,22 @@ bool Graph::video_render(const string &output_filename,const double framerate,in double mtime = ((_end.tv_sec-_start.tv_sec) + (_end.tv_usec-_start.tv_usec)/1000000.0); logger.information("Video_output: rendered "+namestub+suffix+": in "+toString(mtime)+" seconds"); - logger.information("compression codec took "+toString(mtime-video_output->time_taken)+" seconds"); - + for (auto n:nodes) { - logger.information(n.second->type+" node '"+n.first+"' took "+toString(n.second->get_time_used())+" seconds"); + if (dynamic_cast<Image_node*>(n.second)){ + logger.information(n.second->type+" node '"+n.first+"' took "+toString(n.second->get_time_used())+" seconds"); + } + mtime-=n.second->get_time_used(); } + logger.information("compression codec took "+toString(mtime)+" seconds"); + if (usingaudio) { audioloader.cleanup(); delete[] audioframe; delete[] audio; } - - return true; } } |
