Lines Matching defs:Profiler
34 #include "cpu-profiler.h"
41 #include "runtime-profiler.h"
763 // The Profiler samples pc and sp values for the main thread.
768 class Profiler: public Thread {
770 explicit Profiler(Isolate* isolate);
819 // Tells whether profiler is engaged, that is, processing thread is stated.
831 // Ticker used to provide ticks to the profiler and the sliding state
846 void SetProfiler(Profiler* profiler) {
848 profiler_ = profiler;
860 Profiler* profiler_;
865 // Profiler implementation.
867 Profiler::Profiler(Isolate* isolate)
868 : Thread("v8:Profiler"),
880 void Profiler::Engage() {
886 // Start thread processing the profiler buffer.
898 void Profiler::Disengage() {
914 LOG(isolate_, UncheckedStringEvent("profiler", "end"));
918 void Profiler::Run() {
973 msg.Append("profiler,\"begin\",%d\n", kSamplingIntervalMs);
1760 // either from main or Profiler's thread.
2092 profiler_ = new Profiler(isolate);
2132 // Stop the profiler before closing the file.