Module: Datadog::Profiling::Collectors::DynamicSamplingRate::Testing
- Defined in:
- ext/datadog_profiling_native_extension/collectors_dynamic_sampling_rate.c
Class Method Summary collapse
- ._native_after_sample ⇒ Object
-
._native_get_sleep ⇒ Object
Below here is boilerplate to expose the above code to Ruby so that we can test it with RSpec as usual.
- ._native_should_sample ⇒ Object
Class Method Details
._native_after_sample ⇒ Object
103 |
# File 'ext/datadog_profiling_native_extension/collectors_dynamic_sampling_rate.c', line 103
VALUE _native_after_sample(DDTRACE_UNUSED VALUE self, VALUE overhead_target_percentage, VALUE wall_time_ns_after_sample, VALUE sampling_time_ns);
|
._native_get_sleep ⇒ Object
Below here is boilerplate to expose the above code to Ruby so that we can test it with RSpec as usual.
101 |
# File 'ext/datadog_profiling_native_extension/collectors_dynamic_sampling_rate.c', line 101
VALUE _native_get_sleep(DDTRACE_UNUSED VALUE self, VALUE overhead_target_percentage, VALUE simulated_next_sample_after_monotonic_wall_time_ns, VALUE current_monotonic_wall_time_ns);
|
._native_should_sample ⇒ Object
102 |
# File 'ext/datadog_profiling_native_extension/collectors_dynamic_sampling_rate.c', line 102
VALUE _native_should_sample(DDTRACE_UNUSED VALUE self, VALUE overhead_target_percentage, VALUE simulated_next_sample_after_monotonic_wall_time_ns, VALUE wall_time_ns_before_sample);
|