2020-10-06 12:37:39 +00:00
|
|
|
#ifndef __TRACYSTACKFRAMES_HPP__
|
|
|
|
#define __TRACYSTACKFRAMES_HPP__
|
|
|
|
|
2021-06-04 13:01:50 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2020-10-06 12:37:39 +00:00
|
|
|
namespace tracy
|
|
|
|
{
|
|
|
|
|
2021-05-23 21:16:54 +00:00
|
|
|
struct StringMatch
|
|
|
|
{
|
|
|
|
const char* str;
|
|
|
|
size_t len;
|
|
|
|
};
|
|
|
|
|
2020-10-06 12:58:42 +00:00
|
|
|
extern const char** s_tracyStackFrames;
|
2021-05-23 21:16:54 +00:00
|
|
|
extern const StringMatch* s_tracySkipSubframes;
|
2020-10-06 12:37:39 +00:00
|
|
|
|
2021-06-09 00:14:01 +00:00
|
|
|
static constexpr int s_tracySkipSubframesMinLen = 7;
|
2021-06-09 00:13:00 +00:00
|
|
|
|
2020-10-06 12:37:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|