5 #ifndef V8_V8_PROFILER_H_
6 #define V8_V8_PROFILER_H_
11 #include <unordered_set>
29 using NativeObject =
void*;
30 using SnapshotObjectId = uint32_t;
44 template class V8_EXPORT std::vector<v8::CpuProfileDeoptFrame>;
58 template class V8_EXPORT std::vector<v8::CpuProfileDeoptInfo>;
312 unsigned max_samples =
kNoSampleLimit,
int sampling_interval_us = 0,
322 bool has_filter_context()
const {
return !filter_context_
.IsEmpty(); }
323 void* raw_filter_context()
const;
326 unsigned max_samples_;
327 int sampling_interval_us_;
403 bool record_samples =
false);
769 virtual const char*
Name() = 0;
859 uint16_t class_id,
void* data);
920 bool treat_global_objects_as_roots =
true,
921 bool capture_numeric_value =
false);
948 int64_t* timestamp_us =
nullptr);
985 int stack_depth = 16,
1040 #define CODE_EVENTS_LIST(V)
1045 V(InterpretedFunction)
1060 #define V(Name) , k##Name##Type
1128 void* internal_listener_;