diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2013-08-22 10:35:35 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-07 13:18:09 -0500 |
commit | f85bc9eb9a932988bdab198f9da20c2fea55bac2 (patch) | |
tree | 277e761e04bad7b3aa647e9e403d9230bff2d7f7 /benchmark/proto/openxc.proto | |
parent | e9788f71fb5a4be6bc69605539b0135f0ba1829a (diff) |
Add benchmarking tests for binary encoding (moved from cantranslator).
Diffstat (limited to 'benchmark/proto/openxc.proto')
-rw-r--r-- | benchmark/proto/openxc.proto | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmark/proto/openxc.proto b/benchmark/proto/openxc.proto new file mode 100644 index 00000000..0af663c8 --- /dev/null +++ b/benchmark/proto/openxc.proto @@ -0,0 +1,21 @@ +package openxc; + +message RawMessage { + optional uint32 message_id = 1; + optional double data = 2; +} + +message TranslatedStringMessage { + optional string name = 1; + optional string value = 2; +} + +message TranslatedNumericMessage { + optional string name = 1; + optional double value = 2; +} + +message TranslatedBooleanMessage { + optional string name = 1; + optional bool value = 2; +} |