Home
last modified time | relevance | path

Searched refs:timerName (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp617 void Console::PrintTime(std::string timerName, double time, const std::string& log) in PrintTime() argument
637 groupIndent.c_str(), timerName.c_str(), hours, minutes, seconds, ms, log.c_str()); in PrintTime()
642 groupIndent.c_str(), timerName.c_str(), minutes, seconds, ms, log.c_str()); in PrintTime()
647 groupIndent.c_str(), timerName.c_str(), seconds, ms, log.c_str()); in PrintTime()
651 groupIndent.c_str(), timerName.c_str(), time, log.c_str()); in PrintTime()
657 std::string timerName = GetTimerOrCounterName(env, info, argc); in Time() local
658 if (timerMap.find(timerName) == timerMap.end()) { in Time()
659 timerMap[timerName] = std::chrono::duration_cast<std::chrono::microseconds> in Time()
662 HILOG_WARN("Timer %{public}s already exists, please check Timer Name", timerName.c_str()); in Time()
670 std::string timerName in TimeLog() local
688 std::string timerName = GetTimerOrCounterName(env, info, argc); TimeEnd() local
[all...]
H A Dconsole.h73 static void PrintTime(std::string timerName, double time, const std::string& log);
/commonlibrary/ets_utils/js_sys_module/console/test/
H A Dtest_console.h40 static void PrintTime(std::string timerName, double time, std::string& log);
H A Dtest_console.cpp91 void ConsoleTest::PrintTime(std::string timerName, double time, std::string& log) in PrintTime() argument
93 Console::PrintTime(timerName, time, log); in PrintTime()
583 std::string timerName = "abc"; // Random value in HWTEST_F() local
585 napi_create_string_utf8(env, timerName.c_str(), timerName.length(), &nativeMessage0); in HWTEST_F()

Completed in 4 milliseconds