提交 a030d207 编写于 作者: N NicoYam 提交者: Gitee

add c++ benchmark fwk in developertest

Signed-off-by: NNicoYam <renxiang11@huawei.com>
上级 dfbc332d
......@@ -111,7 +111,7 @@ namespace {
void AccessVectorElementByAt()
{
constexpr int testLen = 5;
std :: vector<int> testVec(testLen, 0);
std::vector<int> testVec(testLen, 0);
for (int i = 0; i < testLen; i++) {
testVec.at(i) = i * i;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册