Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 90) sorted by relevance

1234

/developtools/profiler/device/plugins/native_daemon/include/
Ddebug_logger.h86 int Log(DebugLevel level, const std::string &logTag, const char *fmt, ...) const
155 ScopeDebugLevel(DebugLevel level, bool mix = false);
162 #define TempMixLogLevel(level) ScopeDebugLevel tempLogLevel(level, true) argument
174 #define HLOG(level, format, ...) \ argument
178 level, HILOG_TAG, \
179 … HILOG_TAG_NAME "/" LOG_LEVEL(level) "<%ld>[%s:%d]%s:" format "\n", (long)(gettid()), \
273 LogMessage(DebugLevel level = LEVEL_VERBOSE, bool showError = false)
274 : level_(level), showError_(showError) in level_() argument
298 #define HLOGMESSAGE(level, error) \ argument
299 LogMessage(level, error).Stream() \
[all …]
/developtools/profiler/device/plugins/native_daemon/src/
Ddebug_logger.cpp36 ScopeDebugLevel::ScopeDebugLevel(DebugLevel level, bool mix) in ScopeDebugLevel() argument
38 savedDebugLevel_ = DebugLogger::GetInstance()->SetLogLevel(level); in ScopeDebugLevel()
82 int DebugLogger::Log(DebugLevel level, const std::string &logTag, const char *fmt, ...) const in Log() argument
89 if (!ShouldLog(level, logTag) or logDisabled_ or fmt == nullptr) { in Log()
105 if ((mixLogOutput_ and level < LEVEL_FATAL) or level == LEVEL_FATAL) { in Log()
130 if (level == LEVEL_FATAL && exitOnFatal_) { in Log()
147 bool DebugLogger::ShouldLog(DebugLevel level, const std::string &logtag) const in ShouldLog() argument
149 return GetLogLevelByTag(logtag) <= level; in ShouldLog()
215 const std::string DebugLogger::GetLogLevelName(DebugLevel level) const in GetLogLevelName()
217 return DebugLevelMap.at(level); in GetLogLevelName()
/developtools/hiperf/src/
Ddebug_logger.cpp35 ScopeDebugLevel::ScopeDebugLevel(DebugLevel level, bool mix) in ScopeDebugLevel() argument
37 savedDebugLevel_ = DebugLogger::GetInstance()->SetLogLevel(level); in ScopeDebugLevel()
81 int DebugLogger::Log(DebugLevel level, const std::string &logTag, const char *fmt, ...) const in Log() argument
88 if (!ShouldLog(level, logTag) or logDisabled_ or fmt == nullptr) { in Log()
104 if ((mixLogOutput_ and level < LEVEL_FATAL) or level == LEVEL_FATAL) { in Log()
129 if (level == LEVEL_FATAL && exitOnFatal_) { in Log()
148 bool DebugLogger::ShouldLog(DebugLevel level, const std::string &logtag) const in ShouldLog() argument
150 return GetLogLevelByTag(logtag) <= level; in ShouldLog()
216 const std::string DebugLogger::GetLogLevelName(DebugLevel level) const in GetLogLevelName()
218 return DebugLevelMap.at(level); in GetLogLevelName()
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dcgroup.proto42 int32 level = 3; field
50 int32 level = 3; field
58 int32 level = 3; field
67 int32 level = 3; field
76 int32 level = 3; field
91 int32 level = 3; field
99 int32 level = 3; field
124 int32 level = 3; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dcgroup.proto42 int32 level = 3; field
50 int32 level = 3; field
58 int32 level = 3; field
67 int32 level = 3; field
76 int32 level = 3; field
91 int32 level = 3; field
99 int32 level = 3; field
124 int32 level = 3; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dcgroup.proto42 int32 level = 3; field
50 int32 level = 3; field
58 int32 level = 3; field
67 int32 level = 3; field
76 int32 level = 3; field
91 int32 level = 3; field
99 int32 level = 3; field
124 int32 level = 3; field
/developtools/smartperf_host/trace_streamer/src/base/
Dlog.h32 #define LOGWITHLEVEL(level, motify, fmt, ...) … argument
34 …if (level >= CURRENT_LOG_LEVEL) { …
38 … if (level == LOG_FATAL) { \
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dlog.h32 #define LOGWITHLEVEL(level, motify, fmt, ...) … argument
34 …if (level >= g_currentLogLevel) { …
38 … if (level == LOG_FATAL) { \
/developtools/hiperf/include/
Ddebug_logger.h98 int Log(DebugLevel level, const std::string &logTag, const char *fmt, ...) const
170 ScopeDebugLevel(DebugLevel level, bool mix = false);
177 #define TempMixLogLevel(level) ScopeDebugLevel tempLogLevel(level, true) argument
189 #define HLOG(level, format, ...) \ argument
193 level, HILOG_TAG, \
194 HILOG_TAG_NAME "/" LOG_LEVEL(level) "<%ld>[%s:%d]%s:" format "\n", gettid(), \
332 ScopeDebugLevel(DebugLevel level, bool mix = false) {}
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_cgroup_event_formatter.cpp63 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b440702()
77 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b440902()
91 … "cgroup_notify_frozen: root=%d id=%d level=%d path=%s val=%d", msg.root(), msg.id(), msg.level(), in __anon2fd23b440b02()
107 …cgroup_notify_populated: root=%d id=%d level=%d path=%s val=%d", msg.root(), msg.id(), msg.level(), in __anon2fd23b440d02()
123 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b440f02()
151 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b441302()
165 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b441502()
209 msg.root(), msg.id(), msg.level(), msg.path().c_str()); in __anon2fd23b441b02()
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dutils.py40 logging.basicConfig(filename=LOG_FILE, level=logging.INFO, format='%(asctime)s %(message)s',
48 def set_log_content(level, tag, msg): argument
49 log_content = timestamp() + ' {}'.format(level) + ' [{}]'.format(tag) + ' {}'.format(msg)
/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp38 extern USED_FUNCTION void LoopBranch0(std::default_random_engine &rnd, int level);
39 extern USED_FUNCTION void LoopBranch1(std::default_random_engine &rnd, int level);
69 USED_FUNCTION void LoopBranch0(std::default_random_engine &rnd, int level) in LoopBranch0() argument
72 if (level == 0) { in LoopBranch0()
77 LoopBranch0(rnd, --level); in LoopBranch0()
79 LoopBranch1(rnd, --level); in LoopBranch0()
83 USED_FUNCTION void LoopBranch1(std::default_random_engine &rnd, int level) in LoopBranch1() argument
86 if (level == 0) { in LoopBranch1()
91 LoopBranch0(rnd, --level); in LoopBranch1()
93 LoopBranch1(rnd, --level); in LoopBranch1()
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Dutils.py29 def debug(level, *msg): argument
30 if debuglevel >= level:
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dcommon.py29 apl_logger = logging.Logger(name = 'apl_compare_log', level=logging.INFO)
69 def apl_set_log_content(level, tag, msg): argument
70 log_content = timestamp() + ' {}'.format(level) + ' [{}]'.format(tag) + ' {}'.format(msg)
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dcgroup.proto42 int32 level = 3; field
50 int32 level = 3; field
65 int32 level = 3; field
73 int32 level = 3; field
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/
Dcgroup.proto42 int32 level = 3; field
50 int32 level = 3; field
65 int32 level = 3; field
73 int32 level = 3; field
/developtools/hdc/src/common/
Dtask.cpp71 void HdcTaskBase::LogMsg(MessageLevel level, const char *msg, ...) in LogMsg() argument
80 switch (level) { in LogMsg()
95 sessionBase->LogMsg(taskInfo->sessionId, taskInfo->channelId, level, log.c_str()); in LogMsg()
/developtools/profiler/device/base/include/
Dlogging.h179 #define HILOG_PRINT(type, level, fmt, ...) \ argument
180 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS_…
182 #define HILOG_PRINT(type, level, fmt, ...) \ argument
183 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str…
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/
DTabPanePowerBattery.ts49 level: [],
84 value: powerData['POWER_IDE_BATTERY'].level + ' %',
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/
DTabPanePowerBattery.ts49 level: [],
84 value: powerData['POWER_IDE_BATTERY'].level + ' %',
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/energy/
DTabPaneSystemDetails.test.ts231 level: 31,
256 level: 201,
281 level: 3421,
305 level: 147754,
/developtools/profiler/hiebpf/include/
Dhhlog.h125 #define HHLOG(level, expression, format, ...) { \ argument
128 (HHLogger::GetInstance().GetLogLevel() <= HHLOG_##level)) { \
129 const char prefix[] {" [" #level "] %s %d %s: %s"}; \
Dbpf_log_writer.h22 #define BPFLOG(level, expression, format, ...) { \ argument
28 if ((expression) && (bpf_log_level <= level)) { \
/developtools/profiler/device/plugins/hilog_plugin/test/unittest/
Dhilog_plugin_unittest.cpp361 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0);
384 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0);
409 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0);
435 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0);
461 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0);
487 EXPECT_EQ(info.mutable_detail()->level(), 'I');
513 EXPECT_EQ(info.mutable_detail()->level(), 'I');
539 EXPECT_EQ(info.mutable_detail()->level(), 'I');
565 EXPECT_EQ(info.mutable_detail()->level(), 'I');
591 EXPECT_EQ(info.mutable_detail()->level(), 'I');
[all …]
/developtools/profiler/host/smartperf/trace_streamer/prebuilts/patch_perf_event/
Dperf_event.h.patch78 - PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, /* save low level index of raw branch records */
522 mem_lvl_num:4, /* memory hierarchy level number */
526 - mem_hops:3, /* hop level */
536 - mem_hops:3, /* hop level */
541 mem_lvl_num:4, /* memory hierarchy level number */
560 - * memory hierarchy (memory level, hit or miss)
562 +/* memory hierarchy (memory level, hit or miss) */
564 #define PERF_MEM_LVL_HIT 0x02 /* hit level */
565 #define PERF_MEM_LVL_MISS 0x04 /* miss level */
576 -/* hop level */

1234