/external/tensorflow/tensorflow/lite/profiling/ |
D | root_profiler_test.cc | 35 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 …]
|
D | profiler_test.cc | 34 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()
|
D | root_profiler.h | 32 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_;
|
D | atrace_profiler.cc | 29 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()
|
D | profiler.h | 26 using Profiler = BufferedProfiler; variable 28 using Profiler = NoopProfiler;
|
D | signpost_profiler.mm | 33 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/ |
D | profiler.h | 23 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/ |
D | Profiler.cpp | 35 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()
|
D | TestResult.h | 69 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/ |
D | ProfilerTest.java | 41 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()
|
D | BasicProfilerDemo.java | 57 Profiler profiler = new Profiler("BASIC"); in main()
|
D | NestedProfilerDemo.java | 59 Profiler profiler = new Profiler("DEMO"); in main()
|
D | NestedProfilerDemo2.java | 44 Profiler profiler = new Profiler("DEMO"); in main()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | Profiler.java | 50 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()
|
D | ProfilerRegistry.java | 39 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/ |
D | StmtProfile.cpp | 262 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/ |
D | interpreter_experimental.cc | 112 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/ |
D | profiler.rs | 9 pub trait Profiler { trait 25 impl Profiler for ExternalProfiler {
|
/external/tensorflow/tensorflow/lite/delegates/ |
D | telemetry.cc | 30 auto* profiler = reinterpret_cast<Profiler*>(context->profiler); in ReportDelegateSettings() 41 auto* profiler = reinterpret_cast<Profiler*>(context->profiler); in ReportDelegateStatus()
|
D | telemetry_test.cc | 49 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/ |
D | test_cprofile.py | 20 obj = _lsprof.Profiler(lambda: int) 22 obj = _lsprof.Profiler(1)
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Dbg.stg | 67 …((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/ |
D | Dbg.stg | 72 …((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/ |
D | Dbg.stg | 71 …((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/ |
D | instrumentation.h | 82 static Mutex* Profiler() { in Profiler() function 172 ScopedLock sl(GlobalMutexes::Profiler()); in ThreadExitCallback() 223 ScopedLock sl(GlobalMutexes::Profiler()); in RegisterCurrentThreadForProfiling()
|