Skip to content

Commit

Permalink
feat: scaled frequency in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
nberlee committed Nov 7, 2024
1 parent 88f861a commit 7b8b369
Show file tree
Hide file tree
Showing 10 changed files with 3,809 additions and 1,475 deletions.
19 changes: 19 additions & 0 deletions api/machine/machine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ service MachineService {
rpc Bootstrap(BootstrapRequest) returns (BootstrapResponse);
rpc Containers(ContainersRequest) returns (ContainersResponse);
rpc Copy(CopyRequest) returns (stream common.Data);
rpc CPUFreqStats(google.protobuf.Empty) returns (CPUFreqStatsResponse);
rpc CPUInfo(google.protobuf.Empty) returns (CPUInfoResponse);
rpc DiskStats(google.protobuf.Empty) returns (DiskStatsResponse);
rpc Dmesg(DmesgRequest) returns (stream common.Data);
Expand Down Expand Up @@ -841,6 +842,24 @@ message SoftIRQStat {
uint64 rcu = 10;
}

// rpc CPUFreqStats

message CPUFreqStatsResponse {
repeated CPUsFreqStats messages = 1;
}

message CPUsFreqStats {
common.Metadata metadata = 1;
repeated CPUFreqStats cpu_freq_stats = 2;
}

message CPUFreqStats {
uint64 current_frequency = 1;
uint64 minimum_frequency = 2;
uint64 maximum_frequency = 3;
string governor = 4;
}

// rpc CPUInfo

message CPUInfoResponse {
Expand Down
Loading

0 comments on commit 7b8b369

Please sign in to comment.