proxygen
wangle::LoadShedConfiguration::SysParams Struct Reference

#include <LoadShedConfiguration.h>

Public Attributes

uint64_t numLogicalCpuCores {0}
 
uint64_t totalMemBytes {0}
 

Detailed Description

Performs a series of CHECKs to ensure the underlying configuration is sane. For example the following must be true: (1.0 - minCpuIdle_) >= maxCpuUsage_ Note: totalMemBytes represents the total system memory to be used when normalizing minFreeMem_ and killMinFreeMemBytes_ in order for the associated comparisons.

Definition at line 224 of file LoadShedConfiguration.h.

Member Data Documentation

uint64_t wangle::LoadShedConfiguration::SysParams::numLogicalCpuCores {0}

Definition at line 225 of file LoadShedConfiguration.h.

Referenced by wangle::LoadShedConfiguration::checkIsSane().

uint64_t wangle::LoadShedConfiguration::SysParams::totalMemBytes {0}

Definition at line 226 of file LoadShedConfiguration.h.

Referenced by wangle::LoadShedConfiguration::checkIsSane().


The documentation for this struct was generated from the following file: