mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
A couple of fixes for pull-request
This commit is contained in:
parent
a9dea6faa6
commit
95ad72c9a7
@ -95,7 +95,6 @@ namespace profiler {
|
||||
::profiler::EventTracingEnableStatus enable(bool _force = false);
|
||||
void disable();
|
||||
void setLowPriority(bool _value);
|
||||
bool getLowPriority();
|
||||
static void setProcessPrivileges();
|
||||
|
||||
private:
|
||||
|
@ -249,7 +249,7 @@ extern "C" {
|
||||
|
||||
PROFILER_API bool isLowPriorityEventTracing()
|
||||
{
|
||||
return EasyEventTracer::instance().isLowPriorityEventTracing();
|
||||
return EasyEventTracer::instance().isLowPriority();
|
||||
}
|
||||
# else
|
||||
PROFILER_API void setLowPriorityEventTracing(bool) { }
|
||||
@ -296,9 +296,9 @@ extern "C" {
|
||||
PROFILER_API bool isLowPriorityEventTracing(bool) { return false; }
|
||||
PROFILER_API void setContextSwitchLogFilename(const char*) { }
|
||||
PROFILER_API const char* getContextSwitchLogFilename() { return ""; }
|
||||
PROFILER_API void startListen(uint16_t) { }
|
||||
PROFILER_API void stopListen() { }
|
||||
PROFILER_API bool isListening() { }
|
||||
PROFILER_API void startListen(uint16_t) { }
|
||||
PROFILER_API void stopListen() { }
|
||||
PROFILER_API bool isListening() { return false; }
|
||||
#endif
|
||||
|
||||
PROFILER_API uint8_t versionMajor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user