/*1* Copyright © 2022 Mozilla Foundation2*3* This program is made available under an ISC-style license. See the4* accompanying file LICENSE for details.5*/67#ifndef CUBEB_TRACING_H8#define CUBEB_TRACING_H910/* Empty header to allow hooking up a frame profiler. */1112// To be called once on a thread to register for tracing.13#define CUBEB_REGISTER_THREAD(name)14// To be called once before a registered threads exits.15#define CUBEB_UNREGISTER_THREAD()16// Insert a tracing marker, with a particular name.17// Phase can be 'x': instant marker, start time but no duration18// 'b': beginning of a marker with a duration19// 'e': end of a marker with a duration20#define CUBEB_TRACE(name, phase)2122#endif // CUBEB_TRACING_H232425