Home
last modified time | relevance | path

Searched refs:trace_info (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore/core/utils/
Dlabel.cc37 static std::string GetTraceName(const TraceInfoPtr &trace_info, TraceLabelType trace_label) { in GetTraceName() argument
40 return trace_info->symbol(); in GetTraceName()
42 return "_" + trace_info->full_name() + "_"; in GetTraceName()
54 if (temp_info->trace_info() != nullptr) { in RootName()
55 …if (temp_info->trace_info()->isa<TraceResolve>() || temp_info->trace_info()->isa<TraceExpandJ>() || in RootName()
56 temp_info->trace_info()->isa<TraceGenMetaFuncGraph>() || in RootName()
57 …temp_info->trace_info()->isa<TraceGenerateVarArg>() || temp_info->trace_info()->isa<TraceGenerateK… in RootName()
60 trace_name.trace_labels.push_back(GetTraceName(temp_info->trace_info(), trace_label)); in RootName()
61 temp_info = temp_info->trace_info()->debug_info(); in RootName()
100 if (temp_info->trace_info() != nullptr) { in CombineUniqueID()
[all …]
Dinfo.h74 static void DebugTrace(const TraceInfoPtr &trace_info);
76 static void DebugTrace(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info);
92 explicit TraceGuard(const TraceInfoPtr &trace_info) { TraceManager::DebugTrace(trace_info); } in TraceGuard() argument
93 TraceGuard(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info) { in TraceGuard() argument
94 TraceManager::DebugTrace(debug_info, trace_info); in TraceGuard()
110 explicit TraceContext(const TraceInfoPtr &trace_info) { in TraceContext() argument
112 trace_info_ = trace_info; in TraceContext()
116 void set_trace_info(const TraceInfoPtr &trace_info) { trace_info_ = trace_info; } in set_trace_info() argument
117 TraceInfoPtr trace_info() const { return trace_info_; } in trace_info() function
145 void set_trace_info(const TraceInfoPtr &trace_info) { trace_info_ = trace_info; } in set_trace_info() argument
[all …]
Dinfo.cc91 trace_info_ = top->trace_info(); in ProcessAttributeFromContext()
129 auto info = trace_info(); in unique_id_through_copy()
202 void TraceManager::DebugTrace(const TraceInfoPtr &trace_info) { in DebugTrace() argument
203 if (trace_info == nullptr) { in DebugTrace()
206 TraceContextPtr context = std::make_shared<TraceContext>(trace_info); in DebugTrace()
207 if (trace_info->debug_info() == nullptr) { in DebugTrace()
211 TraceManager::parse_or_resolve_debug_info_ = trace_info->debug_info(); in DebugTrace()
214 void TraceManager::DebugTrace(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info) { in DebugTrace() argument
215 if (trace_info == nullptr) { in DebugTrace()
218 auto cloned_info = trace_info->clone(); in DebugTrace()
Dtrace_base.cc35 if (debug_info->trace_info() != nullptr) { in GetSourceCodeDebugInfoVec()
36 debug_info = debug_info->trace_info()->debug_info(); in GetSourceCodeDebugInfoVec()
101 auto action_name = info_vec[i - 1]->trace_info()->GetActionBetweenNode(info_vec[i]); in GetInfoWithAction()
220 auto trace_info = info->trace_info(); in GetDebugTraceInfo() local
221 if (trace_info != nullptr) { in GetDebugTraceInfo()
222 oss << trace_info->symbol() << "(" << trace_info->full_name() << ") "; in GetDebugTraceInfo()
Dtrace_info.cc32 } else if (debug_info()->trace_info() != nullptr) { in GetActionBetweenNode()
33 return act_name + debug_info()->trace_info()->GetActionBetweenNode(info); in GetActionBetweenNode()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/
Dprofiling_utils.cc96 ProfilingTraceInfo *trace_info) { in GetTraceBegin() argument
97 MS_EXCEPTION_IF_NULL(trace_info); in GetTraceBegin()
105 trace_info->trace_begin = trace_begin_str; in GetTraceBegin()
126 trace_info->trace_begin = fp_start_str; in GetTraceBegin()
152 ProfilingTraceInfo *trace_info) { in GetTraceBpEnd() argument
153 MS_EXCEPTION_IF_NULL(trace_info); in GetTraceBpEnd()
160 trace_info->trace_bp_end.insert(bp_point_str); in GetTraceBpEnd()
197 trace_info->trace_bp_end = trace_info->trace_iter_end; in GetTraceBpEnd()
199 (void)trace_info->trace_bp_end.insert(bp_end_str); in GetTraceBpEnd()
221 …gUtils::GetTraceIterEnd(const session::KernelGraph &kernel_graph, ProfilingTraceInfo *trace_info) { in GetTraceIterEnd() argument
[all …]
Dprofiling_utils.h95 ProfilingTraceInfo *trace_info);
97 ProfilingTraceInfo *trace_info);
98 …tic void GetTraceIterEnd(const session::KernelGraph &kernel_graph, ProfilingTraceInfo *trace_info);
/third_party/python/Python/
Dceval.c77 PyTraceInfo *trace_info);
1302 if (trace_info.cframe.use_tracing OR_DTRACE_LINE OR_LLTRACE) { \
1611 PyTraceInfo trace_info; in _PyEval_EvalFrameDefault() local
1613 trace_info.code = NULL; in _PyEval_EvalFrameDefault()
1620 trace_info.cframe.use_tracing = prev_cframe->use_tracing; in _PyEval_EvalFrameDefault()
1621 trace_info.cframe.previous = prev_cframe; in _PyEval_EvalFrameDefault()
1622 tstate->cframe = &trace_info.cframe; in _PyEval_EvalFrameDefault()
1628 if (trace_info.cframe.use_tracing) { in _PyEval_EvalFrameDefault()
1645 tstate, f, &trace_info, in _PyEval_EvalFrameDefault()
1656 tstate, f, &trace_info, in _PyEval_EvalFrameDefault()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Dsync_restricted_traces_to_cipd.py41 for trace_info in traces['traces']:
42 trace, trace_version = trace_info.split(' ')
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_variables.py174 self.assertEqual(sorted(v.trace_info()), [
187 info = sorted(v.trace_info())
189 self.assertEqual(sorted(v.trace_info()), info)
192 self.assertEqual(sorted(v.trace_info()), info)
198 self.assertEqual(v.trace_info(), [(('write', 'unset'), tr2)])
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Ddfunctor.h207 if (debug_info->trace_info() != nullptr && debug_info->trace_info()->debug_info() != nullptr) { in BpropToK()
208 debug_info->trace_info()->debug_info()->set_name(primal->ToString()); in BpropToK()
/third_party/mindspore/mindspore/ccsrc/debug/
Dtrace.cc472 std::ostringstream trace_info; in GetTraceStackInfo() local
473 GetEvalStackInfo(trace_info); in GetTraceStackInfo()
474 if (trace_info.str().empty()) { in GetTraceStackInfo()
480 oss << trace_info.str(); in GetTraceStackInfo()
/third_party/mindspore/mindspore/lite/cmake/
Dfile_list.cmake68 ${CORE_DIR}/utils/trace_info.h
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.h234 FunctionBlockPtr GenerateBlock(const TraceInfoPtr &trace_info);
Dparse.cc1250 FunctionBlockPtr Parser::GenerateBlock(const TraceInfoPtr &trace_info) { in GenerateBlock() argument
1251 TraceGuard trace_guard(trace_info); in GenerateBlock()
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/
Ddependencies.txt1trace_info.cc", "akg/third_party/fwkacllib/inc/toolchain/slog.h", "mindspore/lite/build/_deps/nloh…
/third_party/python/Misc/NEWS.d/
D3.6.0a3.rst100 Added methods trace_add, trace_remove and trace_info in the tkinter.Variable
/third_party/python/Lib/tkinter/
D__init__.py451 for m, ca in self.trace_info():
461 def trace_info(self): member in Variable
498 for m, ca in self.trace_info():
/third_party/python/Lib/idlelib/
Dconfigdialog.py2280 var.trace_remove('write', var.trace_info()[0][1])
/third_party/python/Doc/whatsnew/
D3.6.rst1551 :meth:`~tkinter.Variable.trace_remove` and :meth:`~tkinter.Variable.trace_info`