Re-exportsยง
use std::fmt::Debug;๐use std::fmt::Debug;๐use std::io::Write;๐use measureme::StringComponent;๐use measureme::StringId;๐use rustc_data_structures::fx::FxHashMap;๐use rustc_data_structures::profiling::SelfProfiler;๐use rustc_hir::def_id::CrateNum;๐use rustc_hir::def_id::DefId;๐use rustc_hir::def_id::DefIndex;๐use rustc_hir::def_id::LOCAL_CRATE;๐use rustc_hir::def_id::LocalDefId;๐use rustc_hir::definitions::DefPathData;๐use rustc_middle::query::QueryCache;๐use rustc_middle::query::QueryVTable;๐use rustc_middle::ty::TyCtxt;๐use crate::query_vtables::for_each_query_vtable;๐
Structsยง
- Query
KeyString ๐Builder - Query
KeyString ๐Cache
Traitsยง
Functionsยง
- alloc_
self_ ๐profile_ query_ strings - All self-profiling events generated by the query engine use
virtual
StringIds for theirevent_id. This method makes all those virtualStringIds point to actual strings. - alloc_
self_ ๐profile_ query_ strings_ inner - Allocate the self-profiling query strings for a single query cache. This
method is called from
alloc_self_profile_query_stringswhich knows all the queries via macro magic.