mesa/src/util/perf/u_sysprof.h
Christian Gmeiner 9da5eafa8e
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
util/perf: Add sysprof integration
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34893>
2025-05-23 11:27:14 +00:00

17 lines
234 B
C

/*
* Copyright 2025 Igalia S.L.
* SPDX-License-Identifier: MIT
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
void *util_sysprof_begin(const char *name);
void util_sysprof_end(void **scope);
#ifdef __cplusplus
}
#endif