5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_
9 #include <unordered_set>
21 using NativeObject =
void*;
22 using SnapshotObjectId = uint32_t;
36 template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
50 template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
147 "Use GetScriptId, GetLineNumber, and GetColumnNumber instead.",
148 unsigned GetCallUid()
const);
277 unsigned max_samples =
kNoSampleLimit,
int sampling_interval_us = 0,
287 bool has_filter_context()
const {
return !filter_context_
.IsEmpty(); }
288 void* raw_filter_context()
const;
291 unsigned max_samples_;
292 int sampling_interval_us_;
379 void CollectSample());
385 void SetIdle(
bool is_idle));
734 virtual const char*
Name() = 0;
891 int64_t* timestamp_us =
nullptr);
928 int stack_depth = 16,
981 #define CODE_EVENTS_LIST(V)
986 V(InterpretedFunction)
1000 #define V(Name) , k##Name##Type
1049 void* internal_listener_;