mssqlNoteCompileElapsed function
Compile elapsed for the statement that is about to run on session.
The observer wraps the session, not the compiler, so compile time has
to be handed across this seam. MssqlSelectQuery.get records it;
MssqlObservedSession reads it once and clears it.
Implementation
void mssqlNoteCompileElapsed(MssqlSession session, Duration elapsed) {
_compileElapsed[session] = elapsed;
}