Skip to main content

Module timings

Module timings 

Source

Re-exportsยง

use std::time::Instant; ๐Ÿ”’
use rustc_data_structures::fx::FxHashSet; ๐Ÿ”’
use rustc_data_structures::sync::Lock; ๐Ÿ”’
use crate::DiagCtxtHandle; ๐Ÿ”’

Structsยง

TimingRecord
Section with attached timestamp
TimingSectionGuard
RAII wrapper for starting and ending section timings.
TimingSectionHandler
Manages emission of start/end section timings, enabled through --json=timings.

Enumsยง

TimingSection
A high-level section of the compilation process.