• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package com.google.tuningfork;
4
5enum InstrumentKey {
6  CPU = 0;
7  GPU = 1;
8  SWAPPY_WAIT = 2;
9  SWAPPY_SWAP = 3;
10  CHOREOGRAPHER = 4;
11}
12
13enum Level {
14  // 0 is not a valid value
15  LEVEL_INVALID = 0;
16  LEVEL_1 = 1;
17  LEVEL_2 = 2;
18  LEVEL_3 = 3;
19};
20
21message Annotation {
22  Level level = 1;
23  Level next_level = 2;
24}
25
26message FidelityParams {
27  int32 num_spheres = 1;
28  float tesselation_percent = 2;
29}
30