Sha256: 7d195e43d5a3871ef17bf7b9e8e35f3c1297f7b09ced1b6b50a63e9d3ec29cd8

Contents?: true

Size: 354 Bytes

Versions: 9

Compression:

Stored size: 354 Bytes

Contents

#pragma once

#define SECONDS_AS_NS(value) (value * 1000 * 1000 * 1000L)
#define MILLIS_AS_NS(value) (value * 1000 * 1000L)

#define RAISE_ON_FAILURE true
#define DO_NOT_RAISE_ON_FAILURE false

// Safety: This function is assumed never to raise exceptions by callers when raise_on_failure == false
long monotonic_wall_time_now_ns(bool raise_on_failure);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ddtrace-1.12.1 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.12.0 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.11.1 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.11.0 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.11.0.beta1 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.10.1 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.10.0 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.9.0 ext/ddtrace_profiling_native_extension/time_helpers.h
ddtrace-1.8.0 ext/ddtrace_profiling_native_extension/time_helpers.h