| 33 | } // namespace |
| 34 | |
| 35 | QueryContext::QueryContext(QueryOptions opts, ExecContext exec_context) |
| 36 | : options_(std::move(opts)), |
| 37 | exec_context_(exec_context), |
| 38 | io_context_(GetIoContext(options_, exec_context_)) {} |
| 39 | |
| 40 | const CpuInfo* QueryContext::cpu_info() const { return CpuInfo::GetInstance(); } |
| 41 | int64_t QueryContext::hardware_flags() const { return cpu_info()->hardware_flags(); } |
nothing calls this directly
no test coverage detected