Skip to content

Commit

Permalink
Add remainder of config items for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Oct 4, 2024
1 parent 13eb355 commit f2457cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proto/diagnostics/clock_regression.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ message ClockRegressionParameters {
message SingleClockRegressionResults {
string clock_name = 1;
int32 clock_id = 2;
map<uint32, ClockRegressionParameters> bins = 3;
ClockPartitionMode partition_mode = 3;
int64 partition_bin_size = 4;
int64 principal_clock_divisor = 5;
map<uint32, ClockRegressionParameters> bins = 6;
};

message ModuleClockRegressionResults {
Expand Down
3 changes: 3 additions & 0 deletions src/diagnostics/clock_regression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ void ClockRegressionParallelEventVisitor::transfer_clock_results(
{
res->set_clock_name(ct.config.clock_name());
res->set_clock_id(ct.config.clock_id());
res->set_partition_mode(ct.config.partition_mode());
res->set_partition_bin_size(ct.config.partition_bin_size());
res->set_principal_clock_divisor(ct.config.principal_clock_divisor());
for(const auto& ibin : ct.bins) {
const auto* reg = &ibin.second->accumulator();

Expand Down

0 comments on commit f2457cf

Please sign in to comment.