Limpiar aún más código de CpuMon
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
@ -28,7 +28,7 @@ enum EstadosCPU {
|
||||
|
||||
typedef struct DatosCPU {
|
||||
std::string cpu;
|
||||
size_t times[NUM_ESTADOS_CPU];
|
||||
size_t tiempos[NUM_ESTADOS_CPU];
|
||||
} DatosCPU;
|
||||
|
||||
class CpuMon {
|
||||
@ -49,7 +49,7 @@ public:
|
||||
void leerEstadoCPU(std::vector<DatosCPU> &entradas);
|
||||
void obtenerUsoCPU(const std::vector<DatosCPU> &entradas1,
|
||||
const std::vector<DatosCPU> &entradas2);
|
||||
std::string obtenerBarra(float *porcentaje, uint8_t *cpu);
|
||||
std::string obtenerBarra(float *porcentaje, std::string cpu);
|
||||
void setNum_sectores(uint8_t num_sectores);
|
||||
};
|
||||
#endif // CPU_MON_HPP_
|
||||
|
Reference in New Issue
Block a user