startQueryProfile function

void startQueryProfile()

Start profiling a new query session.

Implementation

void startQueryProfile() {
  if (!_queryProfilerEnabled) return;
  _checkpointTimes.clear();
  _memorySnapshots.clear();
  _firstTokenTime = null;
  _baselineTime = null;
  _queryCount++;
  queryCheckpoint('query_user_input_received');
}