cpu_reader 2.0.0-dev.2 copy "cpu_reader: ^2.0.0-dev.2" to clipboard
cpu_reader: ^2.0.0-dev.2 copied to clipboard

outdated

Flutter CPU reader plugin providing detailed information about the device's CPU data (freq, temp, cores, etc). Android only!

cpu_reader #

A basic CPU reader that provides a simple way of retrieving device CPU info (Currently only supports Android).

Usage #

Import package:device_info/device_info.dart, use CpuReader getters to get device CPU information.

Example:

import 'package:cpu_reader/cpu_reader.dart';
import 'package:cpu_reader/cpuinfo.dart';

CpuInfo cpuInfo = await CpuReader.cpuInfo;
print('Number of Cores ${cpuInfo.numberOfCores}');

int freq = await CpuReader.getCurrentFrequency(2);
print('Core number 2 freq ${freq} Mhz');

CpuReader.cpuStream(1000).listen((cpuInfo) => print("Temperature: ${cpuInfo.cpuTemperature}"))
15
likes
0
pub points
74%
popularity

Publisher

unverified uploader

Flutter CPU reader plugin providing detailed information about the device's CPU data (freq, temp, cores, etc). Android only!

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on cpu_reader