debian/rust-vendor/codspeed/instrument-hooks/src/helpers/valgrind.zig
raw| 1 | const builtin = @import("builtin"); |
| 2 | const std = @import("std"); |
| 3 | const math = std.math; |
| 4 | |
| 5 | pub extern "C" fn running_on_valgrind() u8; |
| 6 | pub extern "C" fn callgrind_dump_stats() void; |
| 7 | pub extern "C" fn callgrind_dump_stats_at(pos_str: [*:0]const u8) void; |
| 8 | pub extern "C" fn callgrind_zero_stats() void; |
| 9 | pub extern "C" fn callgrind_start_instrumentation() void; |
| 10 | pub extern "C" fn callgrind_stop_instrumentation() void; |