Home
last modified time | relevance | path

Searched refs:profiler (Results 1 - 25 of 38) sorted by relevance

12

/third_party/node/src/
H A Dnode_v8.cc277 GCProfiler* profiler = static_cast<GCProfiler*>(data); in BeforeGCCallback() local
278 if (profiler->current_gc_type != 0) { in BeforeGCCallback()
281 JSONWriter* writer = profiler->writer(); in BeforeGCCallback()
287 profiler->current_gc_type = gc_type; in BeforeGCCallback()
288 profiler->start_time = uv_hrtime(); in BeforeGCCallback()
295 GCProfiler* profiler = static_cast<GCProfiler*>(data); in AfterGCCallback() local
296 if (profiler->current_gc_type != gc_type) { in AfterGCCallback()
299 JSONWriter* writer = profiler->writer(); in AfterGCCallback()
300 profiler->current_gc_type = 0; in AfterGCCallback()
301 writer->json_keyvalue("cost", (uv_hrtime() - profiler in AfterGCCallback()
346 GCProfiler* profiler; Start() local
371 GCProfiler* profiler; Stop() local
[all...]
H A Denv.h79 namespace profiler { namespace
83 } // namespace profiler
892 std::unique_ptr<profiler::V8CoverageConnection> connection);
893 profiler::V8CoverageConnection* coverage_connection();
899 std::unique_ptr<profiler::V8CpuProfilerConnection> connection);
900 profiler::V8CpuProfilerConnection* cpu_profiler_connection();
912 std::unique_ptr<profiler::V8HeapProfilerConnection> connection);
913 profiler::V8HeapProfilerConnection* heap_profiler_connection();
984 std::unique_ptr<profiler::V8CoverageConnection> coverage_connection_;
985 std::unique_ptr<profiler
[all...]
H A Denv-inl.h429 std::unique_ptr<profiler::V8CoverageConnection> connection) { in set_coverage_connection()
434 inline profiler::V8CoverageConnection* Environment::coverage_connection() { in coverage_connection()
443 std::unique_ptr<profiler::V8CpuProfilerConnection> connection) { in set_cpu_profiler_connection()
448 inline profiler::V8CpuProfilerConnection*
478 std::unique_ptr<profiler::V8HeapProfilerConnection> connection) { in set_heap_profiler_connection()
483 inline profiler::V8HeapProfilerConnection*
H A Dinspector_profiler.cc17 namespace profiler { namespace
457 std::make_unique<profiler::V8HeapProfilerConnection>(env));
525 } // namespace profiler
528 NODE_BINDING_CONTEXT_AWARE_INTERNAL(profiler, node::profiler::Initialize)
529 NODE_BINDING_EXTERNAL_REFERENCE(profiler,
530 node::profiler::RegisterExternalReferences)
H A Dinspector_profiler.h17 namespace profiler { namespace
145 } // namespace profiler
H A Dnode_external_reference.h113 V(profiler)
H A Dnode_internals.h341 namespace profiler { namespace
/third_party/node/lib/
H A Dv8.js45 let profiler = {};
47 profiler = internalBinding('profiler');
388 #profiler = null;
391 if (!this.#profiler) {
392 this.#profiler = new binding.GCProfiler();
393 this.#profiler.start();
398 if (this.#profiler) {
399 const data = this.#profiler.stop();
400 this.#profiler
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DSwiftConfig.cpp31 extern Profiler profiler;
459 profiler.reset(); in page()
468 html += "<p>FPS: " + ftoa(profiler.FPS) + "</p>\n"; in profile()
469 html += "<p>Frame: " + itoa(profiler.framesTotal) + "</p>\n"; in profile()
472 int texTime = (int)(1000 * profiler.cycles[PERF_TEX] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
473 int shaderTime = (int)(1000 * profiler.cycles[PERF_SHADER] / profiler.cycles[PERF_PIXEL] + 0.5); in profile()
474 int pipeTime = (int)(1000 * profiler.cycles[PERF_PIPE] / profiler in profile()
[all...]
H A DConfig.cpp22 Profiler profiler; member
H A DConfig.hpp72 extern Profiler profiler;
/third_party/node/deps/v8/src/inspector/
H A Dv8-heap-profiler-agent-impl.cc5 #include "src/inspector/v8-heap-profiler-agent-impl.h"
10 #include "include/v8-profiler.h"
103 v8::HeapProfiler* profiler = isolate->GetHeapProfiler(); in objectByHeapObjectId() local
104 v8::Local<v8::Value> value = profiler->FindObjectById(id); in objectByHeapObjectId()
256 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in disable() local
257 if (profiler) profiler->StopSamplingHeapProfiler(); in disable()
267 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in takeHeapSnapshot() local
268 if (!profiler) return Response::ServerError("Cannot access v8 heap profiler"); in takeHeapSnapshot()
379 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); startSampling() local
440 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); getSamplingProfile() local
[all...]
/third_party/node/test/common/
H A Dv8.js7 const profiler = new GCProfiler();
8 profiler.start();
10 resolve(profiler.stop());
/third_party/node/deps/v8/src/profiler/
H A Dsampling-heap-profiler.h13 #include "include/v8-profiler.h"
15 #include "src/profiler/strings-storage.h"
108 profiler(profiler_), in Sample()
115 SamplingHeapProfiler* const profiler; member
132 SamplingHeapProfiler* profiler, in Observer()
135 profiler_(profiler), in Observer()
131 Observer(Heap* heap, intptr_t step_size, uint64_t rate, SamplingHeapProfiler* profiler, base::RandomNumberGenerator* random) Observer() argument
H A Dcpu-profiler.cc5 #include "src/profiler/cpu-profiler.h"
20 #include "src/profiler/cpu-profiler-inl.h"
21 #include "src/profiler/profiler-stats.h"
22 #include "src/profiler/symbolizer.h"
300 // event of profiler shutdown. in Run()
452 void AddProfiler(Isolate* isolate, CpuProfiler* profiler) { in AddProfiler() argument
454 profilers_.emplace(isolate, profiler); in AddProfiler()
457 RemoveProfiler(Isolate* isolate, CpuProfiler* profiler) RemoveProfiler() argument
[all...]
H A Dheap-snapshot-generator.cc5 #include "src/profiler/heap-snapshot-generator.h"
38 #include "src/profiler/allocation-tracker.h"
39 #include "src/profiler/heap-profiler.h"
40 #include "src/profiler/heap-snapshot-generator-inl.h"
41 #include "src/profiler/output-stream-writer.h"
388 HeapSnapshot::HeapSnapshot(HeapProfiler* profiler, bool global_objects_as_roots, in HeapSnapshot() argument
390 : profiler_(profiler), in HeapSnapshot()
749 : heap_(snapshot->profiler()->heap_object_map()->heap()), in V8HeapExplorer()
751 names_(snapshot_->profiler() in V8HeapExplorer()
[all...]
H A Dheap-snapshot-generator-inl.h8 #include "src/profiler/heap-snapshot-generator.h"
10 #include "src/profiler/heap-profiler.h"
53 Isolate* HeapEntry::isolate() const { return snapshot_->profiler()->isolate(); } in isolate()
H A Dprofile-generator.h17 #include "include/v8-profiler.h"
22 #include "src/profiler/output-stream-writer.h"
23 #include "src/profiler/strings-storage.h"
415 CpuProfiler* profiler, ProfilerId id, const char* title,
422 // the sampling interval of the profiler that recorded it (in microseconds).
465 // Number of microseconds worth of profiler ticks that should elapse before
543 void set_cpu_profiler(CpuProfiler* profiler) { profiler_ = profiler; } in set_cpu_profiler() argument
H A Dprofile-generator.cc5 #include "src/profiler/profile-generator.h"
9 #include "include/v8-profiler.h"
13 #include "src/profiler/cpu-profiler.h"
14 #include "src/profiler/profile-generator-inl.h"
15 #include "src/profiler/profiler-stats.h"
575 CpuProfile::CpuProfile(CpuProfiler* profiler, ProfilerId id, const char* title, in CpuProfile() argument
582 top_down_(profiler->isolate(), profiler in CpuProfile()
[all...]
H A Dsampling-heap-profiler.cc5 #include "src/profiler/sampling-heap-profiler.h"
16 #include "src/profiler/strings-storage.h"
112 sample->profiler->samples_.erase(sample); in OnWeakCallback()
H A Dheap-snapshot-generator.h14 #include "include/v8-profiler.h"
24 #include "src/profiler/strings-storage.h"
219 explicit HeapSnapshot(HeapProfiler* profiler, bool global_objects_as_roots,
225 HeapProfiler* profiler() const { return profiler_; } in profiler() function in v8::internal::HeapSnapshot
/third_party/python/Lib/
H A Dprofile.py48 def __init__(self, profiler):
49 self.profiler = profiler
52 prof = self.profiler()
61 prof = self.profiler()
77 # The following are the static member functions for the profiler class
82 """Run statement under profiler optionally saving results in filename
95 """Run statement under profiler, supplying your own globals and locals,
109 avoid contaminating the program that we are profiling. (old profiler
179 self.simulate_call('profiler')
[all...]
/third_party/node/deps/v8/src/execution/
H A Dtiering-manager.h58 explicit OnInterruptTickScope(TieringManager* profiler);
H A Dtiering-manager.cc367 TieringManager* profiler) in OnInterruptTickScope()
368 : profiler_(profiler) { in OnInterruptTickScope()
366 OnInterruptTickScope( TieringManager* profiler) OnInterruptTickScope() argument
/third_party/node/deps/v8/src/heap/cppgc-js/
H A Dcpp-snapshot.cc12 #include "include/v8-profiler.h"
22 #include "src/profiler/heap-profiler.h"
509 auto* profiler = in AddEdge() local
511 if (profiler->HasGetDetachednessCallback()) { in AddEdge()
513 profiler->GetDetachedness(v8_value, ref.WrapperClassId())); in AddEdge()

Completed in 22 milliseconds

12