Searched refs:fixHour (Results 1 – 2 of 2) sorted by relevance
| /developtools/profiler/device/plugins/hilog_plugin/src/ |
| D | hilog_plugin.cpp | 408 long fixHour = 0; in TimeStringToNS() local 420 CHECK_TRUE(StringToL(pTmp, fixHour), false, "%s:strtol fixHour failed", __func__); in TimeStringToNS() 421 if (static_cast<int>(fixHour) != tmTime.tm_hour) { // hours since midnight - [0, 23] in TimeStringToNS() 422 HILOG_INFO(LOG_CORE, "HilogPlugin: hour(%d) <==> fix hour(%ld)!", tmTime.tm_hour, fixHour); in TimeStringToNS() 423 tmTime.tm_hour = fixHour; in TimeStringToNS()
|
| /developtools/profiler/device/plugins/hilog_plugin/test/unittest/ |
| D | hilog_plugin_unittest.cpp | 152 long fixHour; in GetSec() local 153 CHECK_TRUE(plugin.StringToL(pTmp, fixHour), 0, "%s:strtol fixHour failed", __func__); in GetSec() 154 if (static_cast<int>(fixHour) != tmTime.tm_hour) { // hours since midnight - [0, 23] in GetSec() 155 HILOG_INFO(LOG_CORE, "GetSec: hour(%d) <==> fix hour(%ld)!", tmTime.tm_hour, fixHour); in GetSec() 156 tmTime.tm_hour = fixHour; in GetSec()
|