projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Free unused segment memory after acquisition
[pulseview.git]
/
pv
/
data
/
segment.hpp
diff --git
a/pv/data/segment.hpp
b/pv/data/segment.hpp
index 513b7dbd9412fdc03883e7c4991083551923df60..ba1db8e42cee554bc5778dba843dfd63713e9db1 100644
(file)
--- a/
pv/data/segment.hpp
+++ b/
pv/data/segment.hpp
@@
-67,6
+67,8
@@
public:
unsigned int unit_size() const;
+ void free_unused_memory();
+
protected:
void append_single_sample(void *data);
void append_samples(void *data, uint64_t samples);