MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / finishSession

Method finishSession

src/jrd/ProfilerManager.cpp:622–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622void ProfilerManager::finishSession(thread_db* tdbb, bool flushData)
623{
624 if (currentSession)
625 {
626 const auto attachment = tdbb->getAttachment();
627 const auto timestamp = TimeZoneUtil::getCurrentTimeStamp(attachment->att_current_timezone);
628 LogLocalStatus status("Profiler finish");
629
630 currentSession->pluginSession->finish(&status, timestamp);
631 currentSession = nullptr;
632 }
633
634 if (flushData)
635 flush();
636}
637
638void ProfilerManager::pauseSession(bool flushData)
639{

Callers 2

processCommandMethod · 0.80

Calls 2

getAttachmentMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected