From e85a6f6ecbf1233cb12bf39807aaf2f6ab53be00 Mon Sep 17 00:00:00 2001 From: superjom Date: Tue, 2 Jan 2018 12:15:24 +0800 Subject: [PATCH] change total_records to records --- visualdl/storage/tablet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualdl/storage/tablet.h b/visualdl/storage/tablet.h index ba413be2..17ca6ef5 100644 --- a/visualdl/storage/tablet.h +++ b/visualdl/storage/tablet.h @@ -100,7 +100,7 @@ struct TabletReader { // read operations. std::string tag() const { return data_.tag(); } Tablet::Type type() const { return Tablet::Type(data_.component()); } - int64_t total_records() const { return data_.total_records(); } + int64_t total_records() const { return data_.records_size(); } int32_t num_samples() const { return data_.num_samples(); } RecordReader record(int i) const { return RecordReader(data_.records(i)); } template -- GitLab