mirror of
https://github.com/ClementTsang/bottom
synced 2025-02-16 13:18:28 +00:00
some notes
This commit is contained in:
parent
2ba435f22e
commit
30bb37bf5d
4 changed files with 5 additions and 4 deletions
|
@ -6,7 +6,7 @@ use crate::data_collection::disks::IoCounters;
|
||||||
fn get_device_io(device: io_kit::IoObject) -> anyhow::Result<IoCounters> {
|
fn get_device_io(device: io_kit::IoObject) -> anyhow::Result<IoCounters> {
|
||||||
let parent = device.service_parent()?;
|
let parent = device.service_parent()?;
|
||||||
|
|
||||||
// XXX: Re: Conform check being disabled.
|
// NB: Regarding the conform check being disabled.
|
||||||
//
|
//
|
||||||
// Okay, so this is weird.
|
// Okay, so this is weird.
|
||||||
//
|
//
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pub mod temperature;
|
|
||||||
pub mod cpu;
|
pub mod cpu;
|
||||||
pub mod disk;
|
pub mod disk;
|
||||||
pub mod memory;
|
pub mod memory;
|
||||||
|
pub mod temperature;
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub fn init_logger(
|
||||||
// logging at all in a debug context which is generally fine,
|
// logging at all in a debug context which is generally fine,
|
||||||
// release builds should have this logging disabled entirely for now.
|
// release builds should have this logging disabled entirely for now.
|
||||||
unsafe {
|
unsafe {
|
||||||
// XXX: If we ever DO add general logging as a release feature, evaluate this
|
// NB: If we ever DO add general logging as a release feature, evaluate this
|
||||||
// again and whether this is something we want enabled in
|
// again and whether this is something we want enabled in
|
||||||
// release builds! What might be safe is falling back to the non-set-soundness
|
// release builds! What might be safe is falling back to the non-set-soundness
|
||||||
// mode when specifically using certain feature flags (e.g. dev-logging feature
|
// mode when specifically using certain feature flags (e.g. dev-logging feature
|
||||||
|
|
Loading…
Add table
Reference in a new issue