summaryrefslogtreecommitdiff
path: root/src/monitor.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-10 21:55:29 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-10 21:55:29 +0200
commitcc61af1e2c933f2178a5dc3e5a5599e74d380eb3 (patch)
tree80e034aeb4f4511f7ddb3cc990fb6eb942a657ab /src/monitor.hh
parente3f7ecc6bdf7bbd1ae7ec10c387e15743842db90 (diff)
Add duration to packages and tpp format
Diffstat (limited to 'src/monitor.hh')
-rw-r--r--src/monitor.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monitor.hh b/src/monitor.hh
index 7c6cc40..c3504d0 100644
--- a/src/monitor.hh
+++ b/src/monitor.hh
@@ -33,7 +33,8 @@ public:
virtual void error(Monitor* monitor, std::string const& error) = 0;
virtual void package(Monitor* monitor, Package const& package) = 0;
virtual void package_data(Monitor* monitor, uint32_t id,
- char const* data, size_t size, bool last) = 0;
+ char const* data, size_t size, bool last,
+ struct timespec timestamp) = 0;
protected:
Delegate() {}