Sha256: ab7b68aea7b932cb4628eea0c8a22e5aee514aaa4546682807065e0068e56c49
Contents?: true
Size: 764 Bytes
Versions: 6
Compression:
Stored size: 764 Bytes
Contents
#pragma once #include <datadog/profiling.h> typedef struct { int64_t cpu_time_ns; int64_t wall_time_ns; uint32_t cpu_or_wall_samples; uint32_t alloc_samples; } sample_values; typedef struct sample_labels { ddog_prof_Slice_Label labels; // This is used to allow the `Collectors::Stack` to modify the existing label, if any. This MUST be NULL or point // somewhere inside the labels slice above. ddog_prof_Label *state_label; int64_t end_timestamp_ns; } sample_labels; void record_sample(VALUE recorder_instance, ddog_prof_Slice_Location locations, sample_values values, sample_labels labels); void record_endpoint(VALUE recorder_instance, uint64_t local_root_span_id, ddog_CharSlice endpoint); VALUE enforce_recorder_instance(VALUE object);
Version data entries
6 entries across 6 versions & 1 rubygems