Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/lite/profiling/
Droot_profiler_test.cc35 class MockProfiler : public Profiler {
65 EXPECT_CALL(*mock, BeginEvent(kTag, Profiler::EventType::DEFAULT, 1, 2)); in TEST()
67 EXPECT_CALL(*mock, AddEvent(kTag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in TEST()
69 EXPECT_CALL(*mock, AddEventWithData(kTag, Profiler::EventType::DEFAULT, _)); in TEST()
72 auto begin = root.BeginEvent(kTag, Profiler::EventType::DEFAULT, 1, 2); in TEST()
74 root.AddEvent(kTag, Profiler::EventType::OPERATOR_INVOKE_EVENT, 5, 6, 7); in TEST()
75 root.AddEventWithData(kTag, Profiler::EventType::DEFAULT, nullptr); in TEST()
86 EXPECT_CALL(*mock, BeginEvent(kTag, Profiler::EventType::DEFAULT, 1, 2)); in TEST()
88 EXPECT_CALL(*mock, AddEvent(kTag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in TEST()
92 auto begin = root.BeginEvent(kTag, Profiler::EventType::DEFAULT, 1, 2); in TEST()
[all …]
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()
Droot_profiler.h32 class RootProfiler : public Profiler {
49 void AddProfiler(Profiler* profiler);
54 void AddProfiler(std::unique_ptr<Profiler>&& profiler);
97 std::vector<std::unique_ptr<Profiler>> owned_profilers_;
98 std::vector<Profiler*> profilers_;
Datrace_profiler.cc29 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;
Dsignpost_profiler.mm33 class SignpostProfiler : public tflite::Profiler {
126 std::unique_ptr<tflite::Profiler> MaybeCreateSignpostProfiler() {
128 return std::unique_ptr<tflite::Profiler>(new SignpostProfiler());
131 return std::unique_ptr<tflite::Profiler>(new SignpostProfiler());
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h23 class Profiler {
64 virtual ~Profiler() {} in ~Profiler()
135 ScopedProfile(Profiler* profiler, const char* tag,
136 Profiler::EventType event_type = Profiler::EventType::DEFAULT,
151 Profiler* profiler_;
157 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile()
158 : ScopedProfile(profiler, tag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in ScopedOperatorProfile()
164 ScopedDelegateOperatorProfile(Profiler* profiler, const char* tag, in ScopedDelegateOperatorProfile()
167 Profiler::EventType::DELEGATE_OPERATOR_INVOKE_EVENT, in ScopedDelegateOperatorProfile()
174 ScopedRuntimeInstrumentationProfile(Profiler* profiler, const char* tag) in ScopedRuntimeInstrumentationProfile()
[all …]
/external/ComputeLibrary/tests/framework/
DProfiler.cpp35 void Profiler::add(std::unique_ptr<Instrument> instrument) in add()
40 void Profiler::test_start() in test_start()
48 void Profiler::start() in start()
56 void Profiler::stop() in stop()
71 void Profiler::test_stop() in test_stop()
89 const Profiler::MeasurementsMap &Profiler::measurements() const in measurements()
94 const std::string &Profiler::header() const in header()
DTestResult.h69 TestResult(Status status, const Profiler::MeasurementsMap &measurements) in TestResult()
75 Profiler::MeasurementsMap measurements{}; /**< Profiling information */
/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/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/clang/lib/AST/
DStmtProfile.cpp262 StmtProfiler *Profiler; member in __anon7ae58b710211::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/tensorflow/tensorflow/lite/
Dinterpreter_experimental.cc112 void Interpreter::SetProfiler(Profiler* profiler) { in SetProfiler()
121 void Interpreter::SetProfiler(std::unique_ptr<Profiler> profiler) { in SetProfiler()
125 void Interpreter::AddProfiler(Profiler* profiler) { in AddProfiler()
134 Profiler* Interpreter::GetProfiler() { in GetProfiler()
/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.cc49 class DelegateProfiler : public Profiler {
59 Profiler::EventType::GENERAL_RUNTIME_INSTRUMENTATION_EVENT && in BeginEvent()
75 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/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;
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DDbg.stg72 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar…
77 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
108 : this( input, new Profiler(null), new RecognizerSharedState() )
114 Profiler p = (Profiler)dbg;
140 Profiler p = (Profiler)dbg;
/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/gemmlowp/profiling/
Dinstrumentation.h82 static Mutex* Profiler() { in Profiler() function
172 ScopedLock sl(GlobalMutexes::Profiler()); in ThreadExitCallback()
223 ScopedLock sl(GlobalMutexes::Profiler()); in RegisterCurrentThreadForProfiling()

12345