Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Chapyshev committed Aug 27, 2023
1 parent 92b6083 commit a3fedf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions source/host/process_monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,6 @@ ProcessMonitor::ProcessMonitor()
}
else
{
page_size_ = basic_info.PageSize / 1024;
total_physical_pages_ = basic_info.NumberOfPhysicalPages * page_size_;

processor_count_ = static_cast<uint32_t>(basic_info.NumberOfProcessors);
if (processor_count_ > kMaxCpuCount)
processor_count_ = kMaxCpuCount;
Expand Down
3 changes: 0 additions & 3 deletions source/host/process_monitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ class ProcessMonitor
int64_t prev_cpu_idle_time_[kMaxCpuCount];
int64_t prev_cpu_total_time_[kMaxCpuCount];

uint32_t page_size_ = 0;
uint32_t total_physical_pages_ = 0;

DISALLOW_COPY_AND_ASSIGN(ProcessMonitor);
};

Expand Down

0 comments on commit a3fedf4

Please sign in to comment.