Taken from experiments/erika-tester. Change-Id: Ic1aa72d1bfc839009297892cf9e50b3edb53fef9
40 lines
1.4 KiB
Protocol Buffer
40 lines
1.4 KiB
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "google/protobuf/descriptor.proto";
|
|
extend google.protobuf.FieldOptions {
|
|
optional bool sql_primary_key = 32382 [ default = false];
|
|
optional bool sql_ignore = 32383 [ default = false];
|
|
}
|
|
|
|
import "@CONCRETE_INJECTION_POINT@";
|
|
|
|
message DatabaseCampaignMessage {
|
|
required uint32 pilot_id = 1 [(sql_primary_key) = true];
|
|
|
|
// ToDo: injection_instr can be deleted if all experiments switched to
|
|
// using generic InjectionPointMessage
|
|
required uint32 injection_instr = 4 [(sql_ignore) = true];
|
|
optional uint32 injection_instr_absolute = 5 [(sql_ignore) = true];
|
|
required uint32 data_address = 6 [(sql_ignore) = true];
|
|
required uint32 data_width = 7 [(sql_ignore) = true];
|
|
required string variant = 8 [(sql_ignore) = true];
|
|
required string benchmark = 9 [(sql_ignore) = true];
|
|
|
|
required InjectionPointMessage injection_point = 10 [(sql_ignore) = true];
|
|
|
|
required bool inject_bursts = 11 [default = false];
|
|
enum RegisterInjectionMode {
|
|
OFF = 0;
|
|
AUTO = 1;
|
|
FORCE = 2;
|
|
RANDOMJUMP = 3;
|
|
}
|
|
optional RegisterInjectionMode register_injection_mode = 12 [default = OFF];
|
|
}
|
|
|
|
message DatabaseExperimentMessage {
|
|
required uint32 bitoffset = 1 [(sql_primary_key) = true];
|
|
required uint32 original_value = 2;
|
|
required uint32 injection_width = 3;
|
|
}
|