65f94dcb67
This moves most of the logic on a calibrate function taking as a paramater a slice of operations to calibrate L3 hit is measured by flush followed by preftechnt1, cpuid serialization, timed access
28 lines
680 B
TOML
28 lines
680 B
TOML
[package]
|
|
name = "cache_utils"
|
|
version = "0.1.0"
|
|
authors = ["guillaume didier <guillaume.didier@inria.fr>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
polling_serial = { path = "../polling_serial", optional = true }
|
|
vga_buffer = { path = "../vga_buffer", optional = true }
|
|
x86_64 = "0.9.2"
|
|
static_assertions = "1.1.0"
|
|
itertools = { version = "0.9.0", default-features = false }
|
|
|
|
nix = { version = "0.17.0", optional = true }
|
|
|
|
|
|
[features]
|
|
std = ["nix", "itertools/use_std"]
|
|
no_std = ["polling_serial", "vga_buffer"]
|
|
|
|
default = ["std"]
|
|
|
|
[[bin]]
|
|
name = "cache_utils"
|
|
required-features = ["std"]
|