projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mem-cache: Add more compression stats
[gem5.git]
/
src
/
proto
/
protoio.hh
diff --git
a/src/proto/protoio.hh
b/src/proto/protoio.hh
index d5c6a4bacca447116d08513b1d706c18961a9216..27bb336c4143c07647f595af6d7f46bc75f52e18 100644
(file)
--- a/
src/proto/protoio.hh
+++ b/
src/proto/protoio.hh
@@
-122,13
+122,13
@@
class ProtoOutputStream : public ProtoStream
std::ofstream fileStream;
/// Zero Copy stream wrapping the STL output stream
std::ofstream fileStream;
/// Zero Copy stream wrapping the STL output stream
- google::protobuf::io::OstreamOutputStream*
zeroCopy
Stream;
+ google::protobuf::io::OstreamOutputStream*
wrappedFile
Stream;
/// Optional Gzip stream to wrap the Zero Copy stream
google::protobuf::io::GzipOutputStream* gzipStream;
/// Optional Gzip stream to wrap the Zero Copy stream
google::protobuf::io::GzipOutputStream* gzipStream;
- /// Top-level
coded stream that messages are written to
- google::protobuf::io::
CodedOutputStream* coded
Stream;
+ /// Top-level
zero-copy stream, either with compression or not
+ google::protobuf::io::
ZeroCopyOutputStream* zeroCopy
Stream;
};
};
@@
-193,13
+193,13
@@
class ProtoInputStream : public ProtoStream
bool useGzip;
/// Zero Copy stream wrapping the STL input stream
bool useGzip;
/// Zero Copy stream wrapping the STL input stream
- google::protobuf::io::IstreamInputStream*
zeroCopy
Stream;
+ google::protobuf::io::IstreamInputStream*
wrappedFile
Stream;
/// Optional Gzip stream to wrap the Zero Copy stream
google::protobuf::io::GzipInputStream* gzipStream;
/// Optional Gzip stream to wrap the Zero Copy stream
google::protobuf::io::GzipInputStream* gzipStream;
- /// Top-level
coded stream that messages are read from
- google::protobuf::io::
CodedInputStream* coded
Stream;
+ /// Top-level
zero-copy stream, either with compression or not
+ google::protobuf::io::
ZeroCopyInputStream* zeroCopy
Stream;
};
};