X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=1758d4cddaa7720f35a02449d344b311274cfcc1;hp=e99a7a3c8b449e154b3e91740b96b70395096daa;hb=6fd14a32c76a8d4548223eba546d1805d2725df0;hpb=9dbb80b0dbc0fc51a11e42f8e10fc72e9b66f694 diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index e99a7a3c..1758d4cd 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -35,7 +35,9 @@ public: virtual ~Snapshot(); - uint64_t get_sample_count(); + uint64_t get_sample_count() const; + + int unit_size() const; protected: void append_data(void *data, uint64_t samples);