1use crate::___tracy_c_zone_context;
2
3pub const TracyPlotFormatEnum_TracyPlotFormatNumber: TracyPlotFormatEnum = 0;
4pub const TracyPlotFormatEnum_TracyPlotFormatMemory: TracyPlotFormatEnum = 1;
5pub const TracyPlotFormatEnum_TracyPlotFormatPercentage: TracyPlotFormatEnum = 2;
6pub const TracyPlotFormatEnum_TracyPlotFormatWatt: TracyPlotFormatEnum = 3;
7type TracyPlotFormatEnum = ::std::os::raw::c_uint;
8pub const TracyMessageSeverity_TracyMessageSeverityTrace: TracyMessageSeverity = 0;
9pub const TracyMessageSeverity_TracyMessageSeverityDebug: TracyMessageSeverity = 1;
10pub const TracyMessageSeverity_TracyMessageSeverityInfo: TracyMessageSeverity = 2;
11pub const TracyMessageSeverity_TracyMessageSeverityWarning: TracyMessageSeverity = 3;
12pub const TracyMessageSeverity_TracyMessageSeverityError: TracyMessageSeverity = 4;
13pub const TracyMessageSeverity_TracyMessageSeverityFatal: TracyMessageSeverity = 5;
14type TracyMessageSeverity = ::std::os::raw::c_uint;
15unsafe extern "C" {
16 pub fn ___tracy_set_thread_name(name: *const ::std::os::raw::c_char);
17}
18#[repr(C)]
19#[derive(Debug, Copy, Clone)]
20pub struct ___tracy_source_location_data {
21 pub name: *const ::std::os::raw::c_char,
22 pub function: *const ::std::os::raw::c_char,
23 pub file: *const ::std::os::raw::c_char,
24 pub line: u32,
25 pub color: u32,
26}
27#[allow(clippy::unnecessary_operation, clippy::identity_op)]
28const _: () = {
29 ["Size of ___tracy_source_location_data"]
30 [::std::mem::size_of::<___tracy_source_location_data>() - 32usize];
31 ["Alignment of ___tracy_source_location_data"]
32 [::std::mem::align_of::<___tracy_source_location_data>() - 8usize];
33 ["Offset of field: ___tracy_source_location_data::name"]
34 [::std::mem::offset_of!(___tracy_source_location_data, name) - 0usize];
35 ["Offset of field: ___tracy_source_location_data::function"]
36 [::std::mem::offset_of!(___tracy_source_location_data, function) - 8usize];
37 ["Offset of field: ___tracy_source_location_data::file"]
38 [::std::mem::offset_of!(___tracy_source_location_data, file) - 16usize];
39 ["Offset of field: ___tracy_source_location_data::line"]
40 [::std::mem::offset_of!(___tracy_source_location_data, line) - 24usize];
41 ["Offset of field: ___tracy_source_location_data::color"]
42 [::std::mem::offset_of!(___tracy_source_location_data, color) - 28usize];
43};
44#[repr(C)]
45#[derive(Debug, Copy, Clone)]
46pub struct ___tracy_gpu_time_data {
47 pub gpuTime: i64,
48 pub queryId: u16,
49 pub context: u8,
50}
51#[allow(clippy::unnecessary_operation, clippy::identity_op)]
52const _: () = {
53 ["Size of ___tracy_gpu_time_data"][::std::mem::size_of::<___tracy_gpu_time_data>() - 16usize];
54 ["Alignment of ___tracy_gpu_time_data"]
55 [::std::mem::align_of::<___tracy_gpu_time_data>() - 8usize];
56 ["Offset of field: ___tracy_gpu_time_data::gpuTime"]
57 [::std::mem::offset_of!(___tracy_gpu_time_data, gpuTime) - 0usize];
58 ["Offset of field: ___tracy_gpu_time_data::queryId"]
59 [::std::mem::offset_of!(___tracy_gpu_time_data, queryId) - 8usize];
60 ["Offset of field: ___tracy_gpu_time_data::context"]
61 [::std::mem::offset_of!(___tracy_gpu_time_data, context) - 10usize];
62};
63#[repr(C)]
64#[derive(Debug, Copy, Clone)]
65pub struct ___tracy_gpu_zone_begin_data {
66 pub srcloc: u64,
67 pub queryId: u16,
68 pub context: u8,
69}
70#[allow(clippy::unnecessary_operation, clippy::identity_op)]
71const _: () = {
72 ["Size of ___tracy_gpu_zone_begin_data"]
73 [::std::mem::size_of::<___tracy_gpu_zone_begin_data>() - 16usize];
74 ["Alignment of ___tracy_gpu_zone_begin_data"]
75 [::std::mem::align_of::<___tracy_gpu_zone_begin_data>() - 8usize];
76 ["Offset of field: ___tracy_gpu_zone_begin_data::srcloc"]
77 [::std::mem::offset_of!(___tracy_gpu_zone_begin_data, srcloc) - 0usize];
78 ["Offset of field: ___tracy_gpu_zone_begin_data::queryId"]
79 [::std::mem::offset_of!(___tracy_gpu_zone_begin_data, queryId) - 8usize];
80 ["Offset of field: ___tracy_gpu_zone_begin_data::context"]
81 [::std::mem::offset_of!(___tracy_gpu_zone_begin_data, context) - 10usize];
82};
83#[repr(C)]
84#[derive(Debug, Copy, Clone)]
85pub struct ___tracy_gpu_zone_begin_callstack_data {
86 pub srcloc: u64,
87 pub depth: i32,
88 pub queryId: u16,
89 pub context: u8,
90}
91#[allow(clippy::unnecessary_operation, clippy::identity_op)]
92const _: () = {
93 ["Size of ___tracy_gpu_zone_begin_callstack_data"]
94 [::std::mem::size_of::<___tracy_gpu_zone_begin_callstack_data>() - 16usize];
95 ["Alignment of ___tracy_gpu_zone_begin_callstack_data"]
96 [::std::mem::align_of::<___tracy_gpu_zone_begin_callstack_data>() - 8usize];
97 ["Offset of field: ___tracy_gpu_zone_begin_callstack_data::srcloc"]
98 [::std::mem::offset_of!(___tracy_gpu_zone_begin_callstack_data, srcloc) - 0usize];
99 ["Offset of field: ___tracy_gpu_zone_begin_callstack_data::depth"]
100 [::std::mem::offset_of!(___tracy_gpu_zone_begin_callstack_data, depth) - 8usize];
101 ["Offset of field: ___tracy_gpu_zone_begin_callstack_data::queryId"]
102 [::std::mem::offset_of!(___tracy_gpu_zone_begin_callstack_data, queryId) - 12usize];
103 ["Offset of field: ___tracy_gpu_zone_begin_callstack_data::context"]
104 [::std::mem::offset_of!(___tracy_gpu_zone_begin_callstack_data, context) - 14usize];
105};
106#[repr(C)]
107#[derive(Debug, Copy, Clone)]
108pub struct ___tracy_gpu_zone_end_data {
109 pub queryId: u16,
110 pub context: u8,
111}
112#[allow(clippy::unnecessary_operation, clippy::identity_op)]
113const _: () = {
114 ["Size of ___tracy_gpu_zone_end_data"]
115 [::std::mem::size_of::<___tracy_gpu_zone_end_data>() - 4usize];
116 ["Alignment of ___tracy_gpu_zone_end_data"]
117 [::std::mem::align_of::<___tracy_gpu_zone_end_data>() - 2usize];
118 ["Offset of field: ___tracy_gpu_zone_end_data::queryId"]
119 [::std::mem::offset_of!(___tracy_gpu_zone_end_data, queryId) - 0usize];
120 ["Offset of field: ___tracy_gpu_zone_end_data::context"]
121 [::std::mem::offset_of!(___tracy_gpu_zone_end_data, context) - 2usize];
122};
123#[repr(C)]
124#[derive(Debug, Copy, Clone)]
125pub struct ___tracy_gpu_new_context_data {
126 pub gpuTime: i64,
127 pub period: f32,
128 pub context: u8,
129 pub flags: u8,
130 pub type_: u8,
131}
132#[allow(clippy::unnecessary_operation, clippy::identity_op)]
133const _: () = {
134 ["Size of ___tracy_gpu_new_context_data"]
135 [::std::mem::size_of::<___tracy_gpu_new_context_data>() - 16usize];
136 ["Alignment of ___tracy_gpu_new_context_data"]
137 [::std::mem::align_of::<___tracy_gpu_new_context_data>() - 8usize];
138 ["Offset of field: ___tracy_gpu_new_context_data::gpuTime"]
139 [::std::mem::offset_of!(___tracy_gpu_new_context_data, gpuTime) - 0usize];
140 ["Offset of field: ___tracy_gpu_new_context_data::period"]
141 [::std::mem::offset_of!(___tracy_gpu_new_context_data, period) - 8usize];
142 ["Offset of field: ___tracy_gpu_new_context_data::context"]
143 [::std::mem::offset_of!(___tracy_gpu_new_context_data, context) - 12usize];
144 ["Offset of field: ___tracy_gpu_new_context_data::flags"]
145 [::std::mem::offset_of!(___tracy_gpu_new_context_data, flags) - 13usize];
146 ["Offset of field: ___tracy_gpu_new_context_data::type_"]
147 [::std::mem::offset_of!(___tracy_gpu_new_context_data, type_) - 14usize];
148};
149#[repr(C)]
150#[derive(Debug, Copy, Clone)]
151pub struct ___tracy_gpu_context_name_data {
152 pub context: u8,
153 pub name: *const ::std::os::raw::c_char,
154 pub len: u16,
155}
156#[allow(clippy::unnecessary_operation, clippy::identity_op)]
157const _: () = {
158 ["Size of ___tracy_gpu_context_name_data"]
159 [::std::mem::size_of::<___tracy_gpu_context_name_data>() - 24usize];
160 ["Alignment of ___tracy_gpu_context_name_data"]
161 [::std::mem::align_of::<___tracy_gpu_context_name_data>() - 8usize];
162 ["Offset of field: ___tracy_gpu_context_name_data::context"]
163 [::std::mem::offset_of!(___tracy_gpu_context_name_data, context) - 0usize];
164 ["Offset of field: ___tracy_gpu_context_name_data::name"]
165 [::std::mem::offset_of!(___tracy_gpu_context_name_data, name) - 8usize];
166 ["Offset of field: ___tracy_gpu_context_name_data::len"]
167 [::std::mem::offset_of!(___tracy_gpu_context_name_data, len) - 16usize];
168};
169#[repr(C)]
170#[derive(Debug, Copy, Clone)]
171pub struct ___tracy_gpu_calibration_data {
172 pub gpuTime: i64,
173 pub cpuDelta: i64,
174 pub context: u8,
175}
176#[allow(clippy::unnecessary_operation, clippy::identity_op)]
177const _: () = {
178 ["Size of ___tracy_gpu_calibration_data"]
179 [::std::mem::size_of::<___tracy_gpu_calibration_data>() - 24usize];
180 ["Alignment of ___tracy_gpu_calibration_data"]
181 [::std::mem::align_of::<___tracy_gpu_calibration_data>() - 8usize];
182 ["Offset of field: ___tracy_gpu_calibration_data::gpuTime"]
183 [::std::mem::offset_of!(___tracy_gpu_calibration_data, gpuTime) - 0usize];
184 ["Offset of field: ___tracy_gpu_calibration_data::cpuDelta"]
185 [::std::mem::offset_of!(___tracy_gpu_calibration_data, cpuDelta) - 8usize];
186 ["Offset of field: ___tracy_gpu_calibration_data::context"]
187 [::std::mem::offset_of!(___tracy_gpu_calibration_data, context) - 16usize];
188};
189#[repr(C)]
190#[derive(Debug, Copy, Clone)]
191pub struct ___tracy_gpu_time_sync_data {
192 pub gpuTime: i64,
193 pub context: u8,
194}
195#[allow(clippy::unnecessary_operation, clippy::identity_op)]
196const _: () = {
197 ["Size of ___tracy_gpu_time_sync_data"]
198 [::std::mem::size_of::<___tracy_gpu_time_sync_data>() - 16usize];
199 ["Alignment of ___tracy_gpu_time_sync_data"]
200 [::std::mem::align_of::<___tracy_gpu_time_sync_data>() - 8usize];
201 ["Offset of field: ___tracy_gpu_time_sync_data::gpuTime"]
202 [::std::mem::offset_of!(___tracy_gpu_time_sync_data, gpuTime) - 0usize];
203 ["Offset of field: ___tracy_gpu_time_sync_data::context"]
204 [::std::mem::offset_of!(___tracy_gpu_time_sync_data, context) - 8usize];
205};
206#[repr(C)]
207#[derive(Debug, Copy, Clone)]
208pub struct __tracy_lockable_context_data {
209 _unused: [u8; 0],
210}
211#[repr(C)]
212#[derive(Debug, Copy, Clone)]
213pub struct __tracy_shared_lockable_context_data {
214 _unused: [u8; 0],
215}
216type TracyCZoneCtx = ___tracy_c_zone_context;
217unsafe extern "C" {
218 pub fn ___tracy_alloc_srcloc(
219 line: u32,
220 source: *const ::std::os::raw::c_char,
221 sourceSz: usize,
222 function: *const ::std::os::raw::c_char,
223 functionSz: usize,
224 color: u32,
225 ) -> u64;
226}
227unsafe extern "C" {
228 pub fn ___tracy_alloc_srcloc_name(
229 line: u32,
230 source: *const ::std::os::raw::c_char,
231 sourceSz: usize,
232 function: *const ::std::os::raw::c_char,
233 functionSz: usize,
234 name: *const ::std::os::raw::c_char,
235 nameSz: usize,
236 color: u32,
237 ) -> u64;
238}
239unsafe extern "C" {
240 pub fn ___tracy_emit_zone_begin(
241 srcloc: *const ___tracy_source_location_data,
242 active: i32,
243 ) -> TracyCZoneCtx;
244}
245unsafe extern "C" {
246 pub fn ___tracy_emit_zone_begin_callstack(
247 srcloc: *const ___tracy_source_location_data,
248 depth: i32,
249 active: i32,
250 ) -> TracyCZoneCtx;
251}
252unsafe extern "C" {
253 pub fn ___tracy_emit_zone_begin_alloc(srcloc: u64, active: i32) -> TracyCZoneCtx;
254}
255unsafe extern "C" {
256 pub fn ___tracy_emit_zone_begin_alloc_callstack(
257 srcloc: u64,
258 depth: i32,
259 active: i32,
260 ) -> TracyCZoneCtx;
261}
262unsafe extern "C" {
263 pub fn ___tracy_emit_zone_end(ctx: TracyCZoneCtx);
264}
265unsafe extern "C" {
266 pub fn ___tracy_emit_zone_text(
267 ctx: TracyCZoneCtx,
268 txt: *const ::std::os::raw::c_char,
269 size: usize,
270 );
271}
272unsafe extern "C" {
273 pub fn ___tracy_emit_zone_text_fmt(ctx: TracyCZoneCtx, fmt: *const ::std::os::raw::c_char, ...);
274}
275unsafe extern "C" {
276 pub fn ___tracy_emit_zone_name(
277 ctx: TracyCZoneCtx,
278 txt: *const ::std::os::raw::c_char,
279 size: usize,
280 );
281}
282unsafe extern "C" {
283 pub fn ___tracy_emit_zone_name_fmt(ctx: TracyCZoneCtx, fmt: *const ::std::os::raw::c_char, ...);
284}
285unsafe extern "C" {
286 pub fn ___tracy_emit_zone_color(ctx: TracyCZoneCtx, color: u32);
287}
288unsafe extern "C" {
289 pub fn ___tracy_emit_zone_value(ctx: TracyCZoneCtx, value: u64);
290}
291unsafe extern "C" {
292 pub fn ___tracy_emit_gpu_zone_begin(arg1: ___tracy_gpu_zone_begin_data);
293}
294unsafe extern "C" {
295 pub fn ___tracy_emit_gpu_zone_begin_callstack(arg1: ___tracy_gpu_zone_begin_callstack_data);
296}
297unsafe extern "C" {
298 pub fn ___tracy_emit_gpu_zone_begin_alloc(arg1: ___tracy_gpu_zone_begin_data);
299}
300unsafe extern "C" {
301 pub fn ___tracy_emit_gpu_zone_begin_alloc_callstack(
302 arg1: ___tracy_gpu_zone_begin_callstack_data,
303 );
304}
305unsafe extern "C" {
306 pub fn ___tracy_emit_gpu_zone_end(data: ___tracy_gpu_zone_end_data);
307}
308unsafe extern "C" {
309 pub fn ___tracy_emit_gpu_time(arg1: ___tracy_gpu_time_data);
310}
311unsafe extern "C" {
312 pub fn ___tracy_emit_gpu_new_context(arg1: ___tracy_gpu_new_context_data);
313}
314unsafe extern "C" {
315 pub fn ___tracy_emit_gpu_context_name(arg1: ___tracy_gpu_context_name_data);
316}
317unsafe extern "C" {
318 pub fn ___tracy_emit_gpu_calibration(arg1: ___tracy_gpu_calibration_data);
319}
320unsafe extern "C" {
321 pub fn ___tracy_emit_gpu_time_sync(arg1: ___tracy_gpu_time_sync_data);
322}
323unsafe extern "C" {
324 pub fn ___tracy_emit_gpu_zone_begin_serial(arg1: ___tracy_gpu_zone_begin_data);
325}
326unsafe extern "C" {
327 pub fn ___tracy_emit_gpu_zone_begin_callstack_serial(
328 arg1: ___tracy_gpu_zone_begin_callstack_data,
329 );
330}
331unsafe extern "C" {
332 pub fn ___tracy_emit_gpu_zone_begin_alloc_serial(arg1: ___tracy_gpu_zone_begin_data);
333}
334unsafe extern "C" {
335 pub fn ___tracy_emit_gpu_zone_begin_alloc_callstack_serial(
336 arg1: ___tracy_gpu_zone_begin_callstack_data,
337 );
338}
339unsafe extern "C" {
340 pub fn ___tracy_emit_gpu_zone_end_serial(data: ___tracy_gpu_zone_end_data);
341}
342unsafe extern "C" {
343 pub fn ___tracy_emit_gpu_time_serial(arg1: ___tracy_gpu_time_data);
344}
345unsafe extern "C" {
346 pub fn ___tracy_emit_gpu_new_context_serial(arg1: ___tracy_gpu_new_context_data);
347}
348unsafe extern "C" {
349 pub fn ___tracy_emit_gpu_context_name_serial(arg1: ___tracy_gpu_context_name_data);
350}
351unsafe extern "C" {
352 pub fn ___tracy_emit_gpu_calibration_serial(arg1: ___tracy_gpu_calibration_data);
353}
354unsafe extern "C" {
355 pub fn ___tracy_emit_gpu_time_sync_serial(arg1: ___tracy_gpu_time_sync_data);
356}
357unsafe extern "C" {
358 pub fn ___tracy_connected() -> i32;
359}
360unsafe extern "C" {
361 pub fn ___tracy_emit_memory_alloc(ptr: *const ::std::os::raw::c_void, size: usize);
362}
363unsafe extern "C" {
364 pub fn ___tracy_emit_memory_alloc_callstack(
365 ptr: *const ::std::os::raw::c_void,
366 size: usize,
367 depth: i32,
368 );
369}
370unsafe extern "C" {
371 pub fn ___tracy_emit_memory_free(ptr: *const ::std::os::raw::c_void);
372}
373unsafe extern "C" {
374 pub fn ___tracy_emit_memory_free_callstack(ptr: *const ::std::os::raw::c_void, depth: i32);
375}
376unsafe extern "C" {
377 pub fn ___tracy_emit_memory_alloc_named(
378 ptr: *const ::std::os::raw::c_void,
379 size: usize,
380 name: *const ::std::os::raw::c_char,
381 );
382}
383unsafe extern "C" {
384 pub fn ___tracy_emit_memory_alloc_callstack_named(
385 ptr: *const ::std::os::raw::c_void,
386 size: usize,
387 depth: i32,
388 name: *const ::std::os::raw::c_char,
389 );
390}
391unsafe extern "C" {
392 pub fn ___tracy_emit_memory_free_named(
393 ptr: *const ::std::os::raw::c_void,
394 name: *const ::std::os::raw::c_char,
395 );
396}
397unsafe extern "C" {
398 pub fn ___tracy_emit_memory_free_callstack_named(
399 ptr: *const ::std::os::raw::c_void,
400 depth: i32,
401 name: *const ::std::os::raw::c_char,
402 );
403}
404unsafe extern "C" {
405 pub fn ___tracy_emit_memory_discard(name: *const ::std::os::raw::c_char);
406}
407unsafe extern "C" {
408 pub fn ___tracy_emit_memory_discard_callstack(name: *const ::std::os::raw::c_char, depth: i32);
409}
410unsafe extern "C" {
411 pub fn ___tracy_emit_logString(
412 severity: i8,
413 color: i32,
414 callstack_depth: i32,
415 size: usize,
416 txt: *const ::std::os::raw::c_char,
417 );
418}
419unsafe extern "C" {
420 pub fn ___tracy_emit_logStringL(
421 severity: i8,
422 color: i32,
423 callstack_depth: i32,
424 txt: *const ::std::os::raw::c_char,
425 );
426}
427unsafe extern "C" {
428 pub fn ___tracy_emit_frame_mark(name: *const ::std::os::raw::c_char);
429}
430unsafe extern "C" {
431 pub fn ___tracy_emit_frame_mark_start(name: *const ::std::os::raw::c_char);
432}
433unsafe extern "C" {
434 pub fn ___tracy_emit_frame_mark_end(name: *const ::std::os::raw::c_char);
435}
436unsafe extern "C" {
437 pub fn ___tracy_emit_frame_image(
438 image: *const ::std::os::raw::c_void,
439 w: u16,
440 h: u16,
441 offset: u8,
442 flip: i32,
443 );
444}
445unsafe extern "C" {
446 pub fn ___tracy_emit_plot(name: *const ::std::os::raw::c_char, val: f64);
447}
448unsafe extern "C" {
449 pub fn ___tracy_emit_plot_float(name: *const ::std::os::raw::c_char, val: f32);
450}
451unsafe extern "C" {
452 pub fn ___tracy_emit_plot_int(name: *const ::std::os::raw::c_char, val: i64);
453}
454unsafe extern "C" {
455 pub fn ___tracy_emit_plot_config(
456 name: *const ::std::os::raw::c_char,
457 type_: i32,
458 step: i32,
459 fill: i32,
460 color: u32,
461 );
462}
463unsafe extern "C" {
464 pub fn ___tracy_emit_message_appinfo(txt: *const ::std::os::raw::c_char, size: usize);
465}
466unsafe extern "C" {
467 pub fn ___tracy_announce_lockable_ctx(
468 srcloc: *const ___tracy_source_location_data,
469 ) -> *mut __tracy_lockable_context_data;
470}
471unsafe extern "C" {
472 pub fn ___tracy_terminate_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
473}
474unsafe extern "C" {
475 pub fn ___tracy_before_lock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data) -> i32;
476}
477unsafe extern "C" {
478 pub fn ___tracy_after_lock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
479}
480unsafe extern "C" {
481 pub fn ___tracy_after_unlock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
482}
483unsafe extern "C" {
484 pub fn ___tracy_after_try_lock_lockable_ctx(
485 lockdata: *mut __tracy_lockable_context_data,
486 acquired: i32,
487 );
488}
489unsafe extern "C" {
490 pub fn ___tracy_mark_lockable_ctx(
491 lockdata: *mut __tracy_lockable_context_data,
492 srcloc: *const ___tracy_source_location_data,
493 );
494}
495unsafe extern "C" {
496 pub fn ___tracy_custom_name_lockable_ctx(
497 lockdata: *mut __tracy_lockable_context_data,
498 name: *const ::std::os::raw::c_char,
499 nameSz: usize,
500 );
501}
502unsafe extern "C" {
503 pub fn ___tracy_announce_shared_lockable_ctx(
504 srcloc: *const ___tracy_source_location_data,
505 ) -> *mut __tracy_shared_lockable_context_data;
506}
507unsafe extern "C" {
508 pub fn ___tracy_terminate_shared_lockable_ctx(
509 lockdata: *mut __tracy_shared_lockable_context_data,
510 );
511}
512unsafe extern "C" {
513 pub fn ___tracy_before_lock_shared_lockable_ctx(
514 lockdata: *mut __tracy_shared_lockable_context_data,
515 ) -> i32;
516}
517unsafe extern "C" {
518 pub fn ___tracy_after_lock_shared_lockable_ctx(
519 lockdata: *mut __tracy_shared_lockable_context_data,
520 );
521}
522unsafe extern "C" {
523 pub fn ___tracy_after_unlock_shared_lockable_ctx(
524 lockdata: *mut __tracy_shared_lockable_context_data,
525 );
526}
527unsafe extern "C" {
528 pub fn ___tracy_after_try_lock_shared_lockable_ctx(
529 lockdata: *mut __tracy_shared_lockable_context_data,
530 acquired: i32,
531 );
532}
533unsafe extern "C" {
534 pub fn ___tracy_before_lock_shared_shared_lockable_ctx(
535 lockdata: *mut __tracy_shared_lockable_context_data,
536 ) -> i32;
537}
538unsafe extern "C" {
539 pub fn ___tracy_after_lock_shared_shared_lockable_ctx(
540 lockdata: *mut __tracy_shared_lockable_context_data,
541 );
542}
543unsafe extern "C" {
544 pub fn ___tracy_after_unlock_shared_shared_lockable_ctx(
545 lockdata: *mut __tracy_shared_lockable_context_data,
546 );
547}
548unsafe extern "C" {
549 pub fn ___tracy_after_try_lock_shared_shared_lockable_ctx(
550 lockdata: *mut __tracy_shared_lockable_context_data,
551 acquired: i32,
552 );
553}
554unsafe extern "C" {
555 pub fn ___tracy_mark_shared_lockable_ctx(
556 lockdata: *mut __tracy_shared_lockable_context_data,
557 srcloc: *const ___tracy_source_location_data,
558 );
559}
560unsafe extern "C" {
561 pub fn ___tracy_custom_name_shared_lockable_ctx(
562 lockdata: *mut __tracy_shared_lockable_context_data,
563 name: *const ::std::os::raw::c_char,
564 nameSz: usize,
565 );
566}
567unsafe extern "C" {
568 pub fn ___tracy_begin_sampling_profiling() -> ::std::os::raw::c_int;
569}
570unsafe extern "C" {
571 pub fn ___tracy_end_sampling_profiling();
572}
573unsafe extern "C" {
574 pub fn ___tracy_get_time() -> i64;
575}