From 93e40c73fbf92b865b0989266b3fb8a811912152 Mon Sep 17 00:00:00 2001 From: "Igor S. Gerasimov" Date: Thu, 2 Jan 2025 18:06:50 +0100 Subject: [PATCH] Add plot formats --- public/TracyClient.F90 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/TracyClient.F90 b/public/TracyClient.F90 index 9d6c4be98..b06d256f3 100644 --- a/public/TracyClient.F90 +++ b/public/TracyClient.F90 @@ -3,7 +3,12 @@ module tracy & c_size_t, c_int8_t, c_int16_t, c_int32_t, c_int64_t, c_int, c_float, c_double, c_null_ptr implicit none private - ! skipped: TracyPlotFormatEnum + + integer(c_int32_t), parameter, public :: TRACY_PLOTFORMAT_NUMBER = 0 + integer(c_int32_t), parameter, public :: TRACY_PLOTFORMAT_MEMORY = 1 + integer(c_int32_t), parameter, public :: TRACY_PLOTFORMAT_PERCENTAGE = 2 + integer(c_int32_t), parameter, public :: TRACY_PLOTFORMAT_WATT = 3 + interface subroutine impl_tracy_set_thread_name(name) bind(C, name="___tracy_set_thread_name") import