summaryrefslogtreecommitdiffstats
path: root/src/Flowgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r--src/Flowgraph.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp
index c14280e..e594d70 100644
--- a/src/Flowgraph.cpp
+++ b/src/Flowgraph.cpp
@@ -198,6 +198,16 @@ int Node::process()
return ret;
}
+time_t Node::processTime() const
+{
+ return myProcessTime;
+}
+
+void Node::addProcessTime(time_t time)
+{
+ myProcessTime += time;
+}
+
Edge::Edge(shared_ptr<Node>& srcNode, shared_ptr<Node>& dstNode) :
mySrcNode(srcNode),
myDstNode(dstNode)