Sha256: e1934d9251bc769e81e9a3c614d15036b29179d8ab07f5fb4625c7dc74cbb96e
Contents?: true
Size: 654 Bytes
Versions: 22
Compression:
Stored size: 654 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 <ruby.h> #include "clock_id.h" #include "helpers.h" void self_test_clock_id(void) { } // Nothing to check VALUE clock_id_for(DDTRACE_UNUSED VALUE _self, DDTRACE_UNUSED VALUE _thread) { return Qnil; } // Nothing to return 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
22 entries across 22 versions & 1 rubygems