Home
last modified time | relevance | path

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

1234

/external/v8/src/inspector/
Dv8-profiler-agent-impl.cc44 std::unique_ptr<protocol::Array<protocol::Profiler::PositionTickInfo>>
48 auto array = protocol::Array<protocol::Profiler::PositionTickInfo>::create(); in buildInspectorObjectForPositionTicks()
52 std::unique_ptr<protocol::Profiler::PositionTickInfo> line = in buildInspectorObjectForPositionTicks()
53 protocol::Profiler::PositionTickInfo::create() in buildInspectorObjectForPositionTicks()
63 std::unique_ptr<protocol::Profiler::ProfileNode> buildInspectorObjectFor( in buildInspectorObjectFor()
75 auto result = protocol::Profiler::ProfileNode::create() in buildInspectorObjectFor()
123 protocol::Array<protocol::Profiler::ProfileNode>* list) { in flattenNodesTree()
130 std::unique_ptr<protocol::Profiler::Profile> createCPUProfile( in createCPUProfile()
132 auto nodes = protocol::Array<protocol::Profiler::ProfileNode>::create(); in createCPUProfile()
134 return protocol::Profiler::Profile::create() in createCPUProfile()
[all …]
Dv8-profiler-agent-impl.h26 class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
39 Response stop(std::unique_ptr<protocol::Profiler::Profile>*) override;
45 std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
48 std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
54 std::unique_ptr<protocol::Array<protocol::Profiler::ScriptTypeProfile>>*
64 std::unique_ptr<protocol::Profiler::Profile> stopProfiling(
71 protocol::Profiler::Frontend m_frontend;
/external/webrtc/webrtc/base/
Dprofiler.h59 rtc::Profiler::Instance()->ReportAllToLog(__FILE__, __LINE__, sev)
64 rtc::Profiler::Instance()->ReportToLog(__FILE__, __LINE__, sev, prefix)
67 #define PROFILE_START(msg) rtc::Profiler::Instance()->StartEvent(msg)
68 #define PROFILE_STOP(msg) rtc::Profiler::Instance()->StopEvent(msg)
116 class Profiler {
118 ~Profiler();
129 static Profiler* Instance();
131 Profiler();
137 RTC_DISALLOW_COPY_AND_ASSIGN(Profiler);
146 Profiler::Instance()->StartEvent(event_name_); in ProfilerScope()
[all …]
Dprofiler.cc89 Profiler::~Profiler() = default;
91 Profiler* Profiler::Instance() { in Instance()
92 RTC_DEFINE_STATIC_LOCAL(Profiler, instance, ()); in Instance()
96 Profiler::Profiler() { in Profiler() function in rtc::Profiler
99 void Profiler::StartEvent(const std::string& event_name) { in StartEvent()
115 void Profiler::StopEvent(const std::string& event_name) { in StopEvent()
125 void Profiler::ReportToLog(const char* file, int line, in ReportToLog()
153 void Profiler::ReportAllToLog(const char* file, int line, in ReportAllToLog()
158 const ProfilerEvent* Profiler::GetEvent(const std::string& event_name) const { in GetEvent()
165 bool Profiler::Clear() { in Clear()
Dprofiler_unittest.cc32 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
36 const ProfilerEvent* event = Profiler::Instance()->GetEvent(function_name); in TEST()
58 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
61 event1 = Profiler::Instance()->GetEvent(kEvent1Name); in TEST()
74 event2 = Profiler::Instance()->GetEvent(kEvent2Name); in TEST()
104 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
106 EXPECT_FALSE(Profiler::Instance()->Clear()); in TEST()
107 EXPECT_TRUE(Profiler::Instance()->GetEvent("event") != NULL); in TEST()
109 EXPECT_TRUE(Profiler::Instance()->Clear()); in TEST()
110 EXPECT_EQ(NULL, Profiler::Instance()->GetEvent("event")); in TEST()
/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.h56 class Profiler {
59 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/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(Profiler* profiler) { in SleepForQuarterSecond()
39 void ChildFunction(Profiler* profiler) { in ChildFunction()
44 void ParentFunction(Profiler* profiler) { in ParentFunction()
52 Profiler profiler; in TEST()
59 Profiler profiler; in TEST()
99 Profiler* profiler = nullptr; in TEST()
104 Profiler profiler; in TEST()
Dprofiler.h78 class Profiler {
80 Profiler() : buffer_(1024, false) {} in Profiler() function
107 ScopedProfile(Profiler* profiler, const char* tag) in ScopedProfile()
131 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile()
166 class Profiler {
168 Profiler() {} in Profiler() function
/external/clang/lib/AST/
DStmtProfile.cpp262 StmtProfiler *Profiler; member in __anon5ea2e3350211::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/swiftshader/src/Device/
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.hpp46 struct Profiler struct
48 Profiler();
74 extern Profiler profiler;
/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.hpp46 struct Profiler struct
48 Profiler();
74 extern Profiler profiler;
/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/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;
/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/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;

1234