mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 00:31:02 +08:00
(profiler_core) Windows build fix
This commit is contained in:
parent
9521f8ac02
commit
33946770bb
@ -220,7 +220,7 @@ namespace profiler {
|
||||
uint32_t PROFILER_API dumpBlocksToFile(const char* filename);
|
||||
void PROFILER_API setThreadName(const char* name, const char* filename, const char* _funcname, int line);
|
||||
void PROFILER_API setContextSwitchLogFilename(const char* name);
|
||||
const char* PROFILER_API getContextSwitchLogFilename();
|
||||
PROFILER_API const char* getContextSwitchLogFilename();
|
||||
}
|
||||
|
||||
typedef uint64_t timestamp_t;
|
||||
|
@ -54,7 +54,7 @@ extern "C"{
|
||||
return MANAGER.setContextSwitchLogFilename(name);
|
||||
}
|
||||
|
||||
const char* PROFILER_API getContextSwitchLogFilename()
|
||||
PROFILER_API const char* getContextSwitchLogFilename()
|
||||
{
|
||||
return MANAGER.getContextSwitchLogFilename();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user