mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 16:28:42 +01:00
update parallel rdp
This commit is contained in:
1 parent
06a962d607
commit
08a78f6073
46 files changed
+1896
-631
No files matched your search
@@ -149,4 +149,17 @@ TimelineTraceFile::~TimelineTraceFile()
|
||||
if (thr.joinable())
|
||||
thr.join();
|
||||
}
|
||||
|
||||
TimelineTraceFile::ScopedEvent::ScopedEvent(TimelineTraceFile *file_, const char *tag)
|
||||
: file(file_)
|
||||
{
|
||||
if (file && tag && *tag != '\0')
|
||||
event = file->begin_event(tag);
|
||||
}
|
||||
|
||||
TimelineTraceFile::ScopedEvent::~ScopedEvent()
|
||||
{
|
||||
if (event)
|
||||
file->end_event(event);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user