Sha256: e8d59f52a52f1bed1c1f1512f157d10326216cf5d7c8096cf3017845f0f8c3ed

Contents?: true

Size: 553 Bytes

Versions: 8

Compression:

Stored size: 553 Bytes

Contents

#include "extconf.h"

// This file is the dual of clock_id_from_pthread.c for systems where that info
// is not available.
#ifndef HAVE_PTHREAD_GETCPUCLOCKID

#include "clock_id.h"
#include "helpers.h"
#include "datadog_ruby_common.h"

void self_test_clock_id(void) { } // Nothing to check

thread_cpu_time_id thread_cpu_time_id_for(DDTRACE_UNUSED VALUE _thread) {
  return (thread_cpu_time_id) {.valid = false};
}

thread_cpu_time thread_cpu_time_for(DDTRACE_UNUSED thread_cpu_time_id _time_id) {
  return (thread_cpu_time) {.valid = false};
}

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog-2.9.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.8.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.7.1 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.7.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.6.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.5.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.4.0 ext/datadog_profiling_native_extension/clock_id_noop.c
datadog-2.3.0 ext/datadog_profiling_native_extension/clock_id_noop.c