[skip travis] Some notes and readme changes... and an additional commit before starting next feature.
This commit is contained in:
parent
0c48c5973f
commit
ccf58bace9
|
@ -26,6 +26,8 @@ Features of bottom include:
|
|||
|
||||
- Maximizing of widgets of interest.
|
||||
|
||||
Details about each widget can be found [here](./docs/widgets.md).
|
||||
|
||||
The compatibility of each widget and operating systems are, as of version 0.1.0, as follows:
|
||||
|
||||
| OS | CPU | Memory | Disks | Temperature | Processes | Networks |
|
||||
|
|
|
@ -117,7 +117,9 @@ impl DataState {
|
|||
// CPU
|
||||
self.data.cpu = cpu::get_cpu_data_list(&self.sys);
|
||||
|
||||
// Processes
|
||||
// Processes. This is the longest part of the harvesting process... changing this might be
|
||||
// good in the future. What was tried already:
|
||||
// * Splitting the internal part into multiple scoped threads (dropped by ~.01 seconds, but upped usage)
|
||||
if let Ok(process_list) = processes::get_sorted_processes_list(
|
||||
&self.sys,
|
||||
&mut self.prev_idle,
|
||||
|
|
|
@ -67,7 +67,7 @@ pub async fn get_temperature_data(
|
|||
}
|
||||
}
|
||||
|
||||
// By default, sort temperature, then by alphabetically! Allow for configuring this...
|
||||
// By default, sort temperature, then by alphabetically!
|
||||
|
||||
// Note we sort in reverse here; we want greater temps to be higher priority.
|
||||
temperature_vec.sort_by(|a, b| match a.temperature.partial_cmp(&b.temperature) {
|
||||
|
|
|
@ -227,8 +227,6 @@ fn main() -> error::Result<()> {
|
|||
|
||||
// Convert all data into tui-compliant components
|
||||
|
||||
// TODO: [OPT] MT the conversion step.
|
||||
|
||||
// Network
|
||||
let network_data = convert_network_data_points(&app.data_collection);
|
||||
app.canvas_data.network_data_rx = network_data.rx;
|
||||
|
|
Loading…
Reference in New Issue