diff options
author | Ruoxin Xu <ruoxin.xu@mongodb.com> | 2022-11-16 12:54:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-16 14:11:27 +0000 |
commit | bfe342d12210e6ae06b77eb7b2abad8408111378 (patch) | |
tree | aeaa4dcf18bb4b0e2f074cc13bcb5a032e8da788 /src/mongo/db/query/query_knobs.idl | |
parent | e332ea00d872740058898541277bf6547774be90 (diff) | |
download | mongo-bfe342d12210e6ae06b77eb7b2abad8408111378.tar.gz |
SERVER-71363 Use Nanoseconds rather than Microseconds in QueryExecTime and support Nanoseconds in ScopedTimer
Diffstat (limited to 'src/mongo/db/query/query_knobs.idl')
-rw-r--r-- | src/mongo/db/query/query_knobs.idl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/query/query_knobs.idl b/src/mongo/db/query/query_knobs.idl index ab860a0037a..6b10ec2e9fd 100644 --- a/src/mongo/db/query/query_knobs.idl +++ b/src/mongo/db/query/query_knobs.idl @@ -908,11 +908,12 @@ server_parameters: gt: 0 lt: 16777216 - internalMeasureQueryExecutionTimeInMicroseconds: - description: "If true, the explain results include an additional 'executionTimeMicros' field to - represent the execution time of each plan stage in microseconds" + internalMeasureQueryExecutionTimeInNanoseconds: + description: "If true, the explain results include 'executionTimeMicros' and + 'executionTimeNanos' fields to represent the execution time of each SBE plan stage in + microseconds and in nanoseconds" set_at: [ startup ] - cpp_varname: "internalMeasureQueryExecutionTimeInMicroseconds" + cpp_varname: "internalMeasureQueryExecutionTimeInNanoseconds" cpp_vartype: AtomicWord<bool> default: false |