X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fsegment.hpp;h=db34b7687cdd098179b55a483be5ecab7c7c9650;hb=e3ac35531f1e76a31669e821e14dbeb95a5cba63;hp=97dd47237cbe65aa28db8a87d8d6f4eaa323397b;hpb=a38268f064687eff3e5395da6bb7f39e55dcd60f;p=pulseview.git
diff --git a/pv/data/segment.hpp b/pv/data/segment.hpp
index 97dd472..db34b76 100644
--- a/pv/data/segment.hpp
+++ b/pv/data/segment.hpp
@@ -14,13 +14,14 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#ifndef PULSEVIEW_PV_DATA_SEGMENT_HPP
#define PULSEVIEW_PV_DATA_SEGMENT_HPP
+#include "pv/util.hpp"
+
#include
#include
#include
@@ -37,7 +38,7 @@ public:
uint64_t get_sample_count() const;
- double start_time() const;
+ const pv::util::Timestamp& start_time() const;
double samplerate() const;
void set_samplerate(double samplerate);
@@ -78,7 +79,7 @@ protected:
mutable std::recursive_mutex mutex_;
std::vector data_;
uint64_t sample_count_;
- double start_time_;
+ pv::util::Timestamp start_time_;
double samplerate_;
uint64_t capacity_;
unsigned int unit_size_;