Matteo Nicoli

Results 15 comments of Matteo Nicoli

@iCharlesHu If I understand correctly this decimal class should replace the actual Decimal class in the file `Decimal+Stub.swift` ```swift public struct Decimal : Hashable, Codable, Equatable, CustomStringConvertible { private let...

@iCharlesHu Thanks a lot. I opened a pitch post (https://forums.swift.org/t/decimal-ieee-754-2019/67871)

This is an actual problem on Apple silicon. I checked all the commits that touched `DarwinProcess.c` from the `3.3.0` tag on. It turned out that the problem is in [this...

I reverted my previous [commit](https://github.com/htop-dev/htop/commit/802494f65f321ba78e49685760850da41701b89a). Now it shows a more reliable cpu percentage at a process level (or at least consistent with 3.3.0). @BenBE @fasterit I wait to open a...

The `mach_timebase_info` on Apple Silicon sets the structure correctly (125/3). Everything seems ok, both the cpu percentage and the running time (compared to top). Even if `isRunningUnderRosetta2` should always be...

@BenBE cc @Explorer09 It would be great to have that feature in htop. If it's ok for you, I'd like to start thinking about a possible implementation. I would start...

I added a commit with a draft of the GPU usage meter for macOS. At this point I just replicated the `linux/GPUMeter.c` and `linux/GPUMeter.h`. It uses a static service variable...

Thank you all for your comments, and sorry it took me a while to respond. @Explorer09 Thank you for the welcome message. Ok, I'll move `GPUMeter.c` and `GPUMeter.h` from the...

I further investigated the point 2. made above, that is, the issue of GPU utilization by process. As I mentioned, Apple has not released any public API for this purpose....

@fasterit I quote here my last comment to his #1638 > The `mach_timebase_info` on Apple Silicon sets the structure correctly (125/3). Everything seems ok, both the cpu percentage and the...