5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_
10 #include <unordered_set>
23 using NativeObject =
void*;
24 using SnapshotObjectId = uint32_t;
38 template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
52 template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
148 V8_DEPRECATED(
"Use GetScriptId, GetLineNumber, and GetColumnNumber instead.")
278 unsigned max_samples =
kNoSampleLimit,
int sampling_interval_us = 0,
288 bool has_filter_context()
const {
return !filter_context_
.IsEmpty(); }
289 void* raw_filter_context()
const;
292 unsigned max_samples_;
293 int sampling_interval_us_;
721 virtual const char*
Name() = 0;
878 int64_t* timestamp_us =
nullptr);
915 int stack_depth = 16,
968 #define CODE_EVENTS_LIST(V)
973 V(InterpretedFunction)
988 #define V(Name) , k##Name##Type
1056 void* internal_listener_;