5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_
11 #include <unordered_set>
24 using NativeObject =
void*;
25 using SnapshotObjectId = uint32_t;
39 template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
53 template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
297 unsigned max_samples =
kNoSampleLimit,
int sampling_interval_us = 0,
307 bool has_filter_context()
const {
return !filter_context_
.IsEmpty(); }
308 void* raw_filter_context()
const;
311 unsigned max_samples_;
312 int sampling_interval_us_;
388 bool record_samples =
false);
754 virtual const char*
Name() = 0;
844 uint16_t class_id,
void* data);
905 bool treat_global_objects_as_roots =
true,
906 bool capture_numeric_value =
false);
933 int64_t* timestamp_us =
nullptr);
970 int stack_depth = 16,
1025 #define CODE_EVENTS_LIST(V)
1030 V(InterpretedFunction)
1045 #define V(Name) , k##Name##Type
1113 void* internal_listener_;