Skip to content

Commit

Permalink
Revert "basic GUI"
Browse files Browse the repository at this point in the history
This reverts commit d2610c9.
  • Loading branch information
shadeyg56 committed Feb 3, 2023
1 parent 9606472 commit a98225e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,26 +1098,22 @@ def sysinfo():
"""
get system information
"""
strings = []

# processor_info
model_name = getoutput("grep -E 'model name' /proc/cpuinfo -m 1").split(":")[-1]
print(f"Processor:{model_name}")
strings.append(f"Processor:{model_name}")

# get core count
total_cpu_count = int(getoutput("nproc"))
print("Cores:", total_cpu_count)
#strings.append("Cores:", total_cpu_count)

# get architecture
cpu_arch = pl.machine()
print("Architecture:", cpu_arch)
#strings.append("Architecture:", cpu_arch)

# get driver
driver = getoutput("cpufreqctl.auto-cpufreq --driver")
print("Driver: " + driver)
#6strings.append("Driver: " + driver)

# get usage and freq info of cpus
usage_per_cpu = psutil.cpu_percent(interval=1, percpu=True)
Expand Down

0 comments on commit a98225e

Please sign in to comment.