Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e71eaf3f6 | ||
|
|
7ac43a2694 |
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
// This is a [Semantic Version](https://semver.org/).
|
// This is a [Semantic Version](https://semver.org/).
|
||||||
// In a future version of Zig it will be used for package deduplication.
|
// In a future version of Zig it will be used for package deduplication.
|
||||||
.version = "0.5.1",
|
.version = "0.5.2",
|
||||||
|
|
||||||
// Together with name, this represents a globally unique package
|
// Together with name, this represents a globally unique package
|
||||||
// identifier. This field is generated by the Zig toolchain when the
|
// identifier. This field is generated by the Zig toolchain when the
|
||||||
|
|||||||
@@ -172,7 +172,6 @@ fn getCpuFreqAppleSilicon() !f64 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: test on intel machine
|
|
||||||
pub fn getCpuFreqIntel() f64 {
|
pub fn getCpuFreqIntel() f64 {
|
||||||
var freq: f64 = 0;
|
var freq: f64 = 0;
|
||||||
var size: usize = @sizeOf(f64);
|
var size: usize = @sizeOf(f64);
|
||||||
|
|||||||
Reference in New Issue
Block a user