/third_party/node/src/ |
H A D | node_v8.cc | 277 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 D | env.h | 79 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 D | env-inl.h | 429 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 D | inspector_profiler.cc | 17 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 D | inspector_profiler.h | 17 namespace profiler { namespace 145 } // namespace profiler
|
H A D | node_external_reference.h | 113 V(profiler)
|
H A D | node_internals.h | 341 namespace profiler { namespace
|
/third_party/node/lib/ |
H A D | v8.js | 45 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 D | SwiftConfig.cpp | 31 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 D | Config.cpp | 22 Profiler profiler; member
|
H A D | Config.hpp | 72 extern Profiler profiler;
|
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-heap-profiler-agent-impl.cc | 5 #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 D | v8.js | 7 const profiler = new GCProfiler(); 8 profiler.start(); 10 resolve(profiler.stop());
|
/third_party/node/deps/v8/src/profiler/ |
H A D | sampling-heap-profiler.h | 13 #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 D | cpu-profiler.cc | 5 #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 D | heap-snapshot-generator.cc | 5 #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 D | heap-snapshot-generator-inl.h | 8 #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 D | profile-generator.h | 17 #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 D | profile-generator.cc | 5 #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 D | sampling-heap-profiler.cc | 5 #include "src/profiler/sampling-heap-profiler.h" 16 #include "src/profiler/strings-storage.h" 112 sample->profiler->samples_.erase(sample); in OnWeakCallback()
|
H A D | heap-snapshot-generator.h | 14 #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 D | profile.py | 48 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 D | tiering-manager.h | 58 explicit OnInterruptTickScope(TieringManager* profiler);
|
H A D | tiering-manager.cc | 367 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 D | cpp-snapshot.cc | 12 #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()
|