修改数据类型

Signed-off-by: wwx1285007 <wanglu234@huawei.com>
This commit is contained in:
wwx1285007 2023-11-23 11:14:53 +08:00
parent 3defb64778
commit 55b25d4e16

View File

@ -123,7 +123,7 @@ float CPU::CacWorkload(const char *buffer, const char *preBuffer) const
if (preLen == 0 || len == 0) {
return -1.0f;
}
int i;
size_t i;
size_t time[defaultShift];
size_t preTime[defaultShift];
size_t cnt = 0;