5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_
8 #include <unordered_set>
31 template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
45 template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
58 "The profiler is created automatically with the isolate.\n"
59 "No need to create it explicitly.",
97 bool use_simulator_reg_state =
true);
120 void** frames, size_t frames_limit,
122 bool use_simulator_reg_state =
true);
209 "Use GetScriptId, GetLineNumber, and GetColumnNumber instead.",
210 unsigned GetCallUid()
const);
337 void CollectSample());
343 void SetIdle(
bool is_idle));
655 virtual const char*
Name() = 0;
672 Node(
const Node&) =
delete;
673 Node& operator=(
const Node&) =
delete;
824 int64_t* timestamp_us = NULL);
861 int stack_depth = 16,
885 "Use SetBuildEmbedderGraphCallback to provide info about embedder nodes",
886 void SetWrapperClassInfoProvider(uint16_t class_id,
887 WrapperInfoCallback callback));
890 "Use SetBuildEmbedderGraphCallback to provide info about embedder nodes",
891 void SetGetRetainerInfosCallback(GetRetainerInfosCallback callback));