GLdc/samples/profiler.h

19 lines
348 B
C
Raw Normal View History

2021-04-20 15:08:58 +00:00
#pragma once
/*
* The Dreamcast doesn't have any kind of profiling support from GCC
* so this is a cumbersome sampling profiler that runs in a background thread
*/
#ifdef __cplusplus
extern "C" {
#endif
void profiler_init(const char* output);
void profiler_start();
void profiler_stop();
void profiler_clean_up();
#ifdef __cplusplus
}
#endif