From e014b0b19aa15e522df450cd868ddb6aa46c83d4 Mon Sep 17 00:00:00 2001 From: jimmy-jiang-junior Date: Thu, 1 Dec 2022 16:21:08 +0800 Subject: [PATCH] Remove sensitive words --- pwrapis/inc/common.h | 2 +- pwrapis/inc/gather.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pwrapis/inc/common.h b/pwrapis/inc/common.h index b7e8957..efc321b 100644 --- a/pwrapis/inc/common.h +++ b/pwrapis/inc/common.h @@ -171,7 +171,7 @@ #define CPU_FIVE_MIN_LOAD_FIELD_NUM 2 #define CPU_FIFTEEN_MIN_LOAD_FIELD_NUM 3 -// Memery data location define +// Memery data define #define FIRST_MATCH_LINE 1 #define MEMINFO_DATA_FIELD_NUM 2 #define NUMA_MEM_DATA_FIELD_NUM 4 diff --git a/pwrapis/inc/gather.h b/pwrapis/inc/gather.h index 64de0b7..2341340 100644 --- a/pwrapis/inc/gather.h +++ b/pwrapis/inc/gather.h @@ -105,7 +105,7 @@ int InitCollector(const struct CollCfg cfg); */ int UpdColCfg(const struct CollCfg cfg); /** - * UpdPeriod - Update data collection cycle and make it effective + * UpdPeriod - Update collection cycle and make it effective * * @pTpNm: Pointer to the name of the collection type * @dNm: Pointer to the name of the collected data @@ -115,7 +115,7 @@ int UpdColCfg(const struct CollCfg cfg); */ int UpdPeriod(const char* pTpNm, const char* dNm, uint16_t period); /** - * DtCollReg - Data collection registration + * DtCollReg - Collection registration * * Note: return 0 if success; - 1 if failed */ -- Gitee