cpu_reader

Creator: coderz1093

Last updated:

0 purchases

cpu_reader Image
cpu_reader Images

Languages

Categories

Add to Cart

Description:

cpu reader

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}"))
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.