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>;
274 unsigned max_samples =
kNoSampleLimit,
int sampling_interval_us = 0,
284 bool has_filter_context()
const {
return !filter_context_
.IsEmpty(); }
285 void* raw_filter_context()
const;
288 unsigned max_samples_;
289 int sampling_interval_us_;
717 virtual const char*
Name() = 0;
848 bool treat_global_objects_as_roots =
true);
875 int64_t* timestamp_us =
nullptr);
912 int stack_depth = 16,
965 #define CODE_EVENTS_LIST(V)
970 V(InterpretedFunction)
985 #define V(Name) , k##Name##Type
1053 void* internal_listener_;