Add perftest proto configs

Change-Id: I68016b3810afc11ad3923d565e4e515ddd958068
diff --git a/lib/perftest/BUILD.gn b/lib/perftest/BUILD.gn
new file mode 100644
index 0000000..892a32f
--- /dev/null
+++ b/lib/perftest/BUILD.gn
@@ -0,0 +1,35 @@
+# Copyright 2018 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/package.gni")
+import("//third_party/protobuf/proto_library.gni")
+
+# import("//build/go/go_library.gni")
+# go_library("go_protos") {
+#     name = "perftest_protos"
+#     deps = [":go_sources"]
+# }
+
+group("go_sources") {
+    public_configs = [ ":proto_config" ]
+    public_deps = [ ":proto_sources" ]
+}
+
+config("proto_config") {
+    include_dirs = [ "$root_gen_dir/garnet/lib/perftest" ]
+}
+
+proto_library("proto_sources") {
+    sources = ["protos/perftest.proto"]
+    proto_in_dir = "."
+    proto_out_dir = "garnet/lib/perftest"
+    extra_configs = [ ":proto_config" ]
+
+    # Languages
+    generate_go = true
+}
+
+package("perftest") {
+    data_deps = [":go_sources"]
+}
\ No newline at end of file
diff --git a/lib/perftest/main.cc b/lib/perftest/main.cc
new file mode 100644
index 0000000..ac6781e
--- /dev/null
+++ b/lib/perftest/main.cc
@@ -0,0 +1,4 @@
+int main() {
+    printf("hi");
+    return 0;
+}
\ No newline at end of file
diff --git a/lib/perftest/protos/perftest.proto b/lib/perftest/protos/perftest.proto
new file mode 100644
index 0000000..f759bed
--- /dev/null
+++ b/lib/perftest/protos/perftest.proto
@@ -0,0 +1,30 @@
+// Copyright 2018 The Fuchsia Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+syntax = "proto3";
+
+// TestCaseResult represents the result of running a single test case.
+message TestCaseResult {
+    // Unit describes the units of 
+    enum Unit {
+        BYTE = 0;
+        KILOBYTE = 1;
+        MEGABYTE = 2;
+
+        NANOSECOND = 3;
+        MILLISECOND = 4;
+        SECOND = 5;
+    }
+
+    // The name of the test case that generated these results.
+    string name = 1;
+
+    // The name of the test suite containing this test case.
+    string test_suite = 2;
+    
+    // The units of TestCaseResult.values.
+    Unit units = 3;
+
+    // The values collected in this test case.
+    repeated double values = 4;
+}
diff --git a/packages/benchmarks/garnet b/packages/benchmarks/garnet
index ca73302..bcba940 100644
--- a/packages/benchmarks/garnet
+++ b/packages/benchmarks/garnet
@@ -1,6 +1,7 @@
 {
     "packages": [
         "//garnet/bin/benchmarks:garnet_benchmarks",
-        "//garnet/bin/catapult_converter"
+        "//garnet/bin/catapult_converter",
+        "//garnet/lib/perftest"
     ]
 }