Home
last modified time | relevance | path

Searched refs:Profiler (Results 1 – 25 of 110) sorted by relevance

12345

/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h23 class Profiler {
51 virtual ~Profiler() {} in ~Profiler()
105 ScopedProfile(Profiler* profiler, const char* tag,
106 Profiler::EventType event_type = Profiler::EventType::DEFAULT,
121 Profiler* profiler_;
127 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile()
128 : ScopedProfile(profiler, tag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in ScopedOperatorProfile()
134 ScopedDelegateOperatorProfile(Profiler* profiler, const char* tag, in ScopedDelegateOperatorProfile()
137 Profiler::EventType::DELEGATE_OPERATOR_INVOKE_EVENT, in ScopedDelegateOperatorProfile()
143 ScopedRuntimeInstrumentationProfile(Profiler* profiler, const char* tag) in ScopedRuntimeInstrumentationProfile()
[all …]
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler.cc20 Profiler::Profiler(const GraphDef& graph) { in Profiler() function in tensorflow::tfprof::Profiler
26 void Profiler::AddStep(int64 step, const RunMetadata& run_meta) { in AddStep()
32 GraphNodeProto Profiler::ProfileGraph(const Options& options) { in ProfileGraph()
37 GraphNodeProto Profiler::ProfileNameScope(const Options& options) { in ProfileNameScope()
42 MultiGraphNodeProto Profiler::ProfileOperations(const Options& options) { in ProfileOperations()
47 Status Profiler::SerializeToString(string* content) { in SerializeToString()
Dprofiler.h59 class Profiler {
62 explicit Profiler(const GraphDef& graph);
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DProfilerTest.java41 Profiler profiler = new Profiler("SMOKE"); in testSmoke()
53 Profiler profiler = new Profiler("BAS"); in testBasicProfiling()
85 Profiler profiler = new Profiler("BAS"); in testNestedProfiling()
94 Profiler nested = profiler.startNested("subtask"); in testNestedProfiling()
123 public void doSubtask(Profiler nested) { in doSubtask()
DBasicProfilerDemo.java57 Profiler profiler = new Profiler("BASIC"); in main()
DNestedProfilerDemo.java59 Profiler profiler = new Profiler("DEMO"); in main()
DNestedProfilerDemo2.java44 Profiler profiler = new Profiler("DEMO"); in main()
/external/llvm-project/clang/lib/AST/
DStmtProfile.cpp410 StmtProfiler *Profiler; member in __anon83127ac10211::OMPClauseProfiler
416 OMPClauseProfiler(StmtProfiler *P) : Profiler(P) { } in OMPClauseProfiler()
426 Profiler->VisitStmt(S); in VistOMPClauseWithPreInit()
433 Profiler->VisitStmt(E); in VistOMPClauseWithPostUpdate()
439 Profiler->VisitStmt(C->getCondition()); in VisitOMPIfClause()
445 Profiler->VisitStmt(C->getCondition()); in VisitOMPFinalClause()
451 Profiler->VisitStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
456 Profiler->VisitStmt(C->getSafelen()); in VisitOMPSafelenClause()
461 Profiler->VisitStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
466 Profiler->VisitStmt(C->getAllocator()); in VisitOMPAllocatorClause()
[all …]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DProfiler.java50 public class Profiler implements TimeInstrument { class
67 public Profiler(String name) { in Profiler() method in Profiler
106 public Profiler startNested(String name) { in startNested()
108 Profiler nestedProfiler = new Profiler(name); in startNested()
167 if (ti instanceof Profiler) { in sanityCheck()
168 Profiler nestedProfiler = (Profiler) ti; in sanityCheck()
238 } else if (child instanceof Profiler) { in buildProfilerString()
239 Profiler profiler = (Profiler) child; in buildProfilerString()
DProfilerRegistry.java39 Map<String, Profiler> profilerMap = new HashMap<String, Profiler>();
41 public void put(Profiler profiler) { in put()
45 public void put(String name, Profiler profiler) { in put()
58 public Profiler get(String name) { in get()
/external/tensorflow/tensorflow/lite/profiling/
Dprofiler_test.cc34 void SleepForQuarterSecond(tflite::Profiler* profiler) { in SleepForQuarterSecond()
39 void ChildFunction(tflite::Profiler* profiler) { in ChildFunction()
44 void ParentFunction(tflite::Profiler* profiler) { in ParentFunction()
60 tflite::Profiler* p = &profiler; in TEST()
62 Profiler::EventType::GENERAL_RUNTIME_INSTRUMENTATION_EVENT, in TEST()
66 "begin", Profiler::EventType::GENERAL_RUNTIME_INSTRUMENTATION_EVENT, 0); in TEST()
113 Profiler* profiler = nullptr; in TEST()
Datrace_profiler.cc30 class ATraceProfiler : public tflite::Profiler {
96 std::unique_ptr<tflite::Profiler> MaybeCreateATraceProfiler() { in MaybeCreateATraceProfiler()
98 return std::unique_ptr<tflite::Profiler>(new ATraceProfiler()); in MaybeCreateATraceProfiler()
105 return std::unique_ptr<tflite::Profiler>(new ATraceProfiler()); in MaybeCreateATraceProfiler()
Dprofiler.h26 using Profiler = BufferedProfiler; variable
28 using Profiler = NoopProfiler;
Dprofile_buffer.h37 using EventType = tflite::Profiler::EventType;
89 if (event_type != Profiler::EventType::OPERATOR_INVOKE_EVENT) { in BeginEvent()
118 Profiler::EventType::OPERATOR_INVOKE_EVENT) {
/external/swiftshader/src/Main/
DConfig.cpp22 Profiler profiler;
24 Profiler::Profiler() in Profiler() function in sw::Profiler
29 void Profiler::reset() in reset()
55 void Profiler::nextFrame() in nextFrame()
DConfig.hpp44 struct Profiler struct
46 Profiler();
72 extern Profiler profiler;
/external/clang/lib/AST/
DStmtProfile.cpp262 StmtProfiler *Profiler; member in __anonecc437530211::OMPClauseProfiler
268 OMPClauseProfiler(StmtProfiler *P) : Profiler(P) { } in OMPClauseProfiler()
279 Profiler->VisitStmt(S); in VistOMPClauseWithPreInit()
286 Profiler->VisitStmt(E); in VistOMPClauseWithPostUpdate()
291 Profiler->VisitStmt(C->getCondition()); in VisitOMPIfClause()
296 Profiler->VisitStmt(C->getCondition()); in VisitOMPFinalClause()
301 Profiler->VisitStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
306 Profiler->VisitStmt(C->getSafelen()); in VisitOMPSafelenClause()
311 Profiler->VisitStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
316 Profiler->VisitStmt(C->getNumForLoops()); in VisitOMPCollapseClause()
[all …]
/external/rust/crates/criterion/src/
Dprofiler.rs9 pub trait Profiler { trait
25 impl Profiler for ExternalProfiler {
/external/tensorflow/tensorflow/lite/delegates/
Dtelemetry.cc30 auto* profiler = reinterpret_cast<Profiler*>(context->profiler); in ReportDelegateSettings()
41 auto* profiler = reinterpret_cast<Profiler*>(context->profiler); in ReportDelegateStatus()
Dtelemetry_test.cc48 class DelegateProfiler : public Profiler {
58 Profiler::EventType::GENERAL_RUNTIME_INSTRUMENTATION_EVENT && in BeginEvent()
74 Profiler::EventType::GENERAL_RUNTIME_INSTRUMENTATION_EVENT && in BeginEvent()
/external/python/cpython2/Lib/test/
Dtest_cprofile.py20 obj = _lsprof.Profiler(lambda: int)
22 obj = _lsprof.Profiler(1)
/external/gemmlowp/profiling/
Dinstrumentation.h82 static Mutex* Profiler() { in Profiler() function
172 ScopedLock sl(GlobalMutexes::Profiler()); in ThreadExitCallback()
223 ScopedLock sl(GlobalMutexes::Profiler()); in RegisterCurrentThreadForProfiling()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DProfileTreeGrammar.cs61 : this( input, new Profiler(null), new RecognizerSharedState() ) in ProfileTreeGrammar()
67 Profiler p = (Profiler)dbg; in ProfileTreeGrammar()
74 Profiler p = (Profiler)dbg; in ProfileTreeGrammar()
79 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, ProfileTreeGrammar.ruleNames[ruleIndex]); in AlreadyParsedRule()
85 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, ProfileTreeGrammar.ruleNames[ruleIndex]); in Memoize()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DDbg.stg71 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar…
76 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
107 : this( input, new Profiler(null), new RecognizerSharedState() )
113 Profiler p = (Profiler)dbg;
139 Profiler p = (Profiler)dbg;
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DDbg.stg67 …((Profiler)dbg).examineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar…
76 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
104 this(input, new Profiler(null), new RecognizerSharedState());
108 Profiler p = (Profiler)dbg;
132 Profiler p = (Profiler)dbg;

12345