| 154 | }; |
| 155 | |
| 156 | class Session final |
| 157 | { |
| 158 | public: |
| 159 | Session(MemoryPool& pool) |
| 160 | : statements(pool), |
| 161 | requests(pool) |
| 162 | { |
| 163 | } |
| 164 | |
| 165 | Session(const Session&) = delete; |
| 166 | void operator=(const Session&) = delete; |
| 167 | |
| 168 | Firebird::AutoPlugin<Firebird::IProfilerPlugin> plugin; |
| 169 | Firebird::AutoDispose<Firebird::IProfilerSession> pluginSession; |
| 170 | Firebird::RightPooledMap<StmtNumber, Statement> statements; |
| 171 | Firebird::SortedArray<StmtNumber> requests; |
| 172 | unsigned flags = 0; |
| 173 | }; |
| 174 | |
| 175 | private: |
| 176 | ProfilerManager(thread_db* tdbb); |