Skip to content

Commit

Permalink
update executable name -> ryzenadjcli
Browse files Browse the repository at this point in the history
  • Loading branch information
kylon committed Jul 21, 2024
1 parent 4e05cb3 commit cc01c67
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ You should run it with Administrator on Windows or root on Linux.
You can write a shell script or bat to do it automaticly.

```
$./ryzenadj -h
Usage: ryzenadj [options]
$./ryzenadjcli -h
Usage: ryzenadjcli [options]
Ryzen Power Management adjust tool.
Expand Down Expand Up @@ -62,7 +62,7 @@ Settings
If I'm going to set all the Power Limit to 45W, and Tctl to 90 °C,
then the command line should be:

./ryzenadj --stapm-limit=45000 --fast-limit=45000 --slow-limit=45000 --tctl-temp=90
./ryzenadjcli --stapm-limit=45000 --fast-limit=45000 --slow-limit=45000 --tctl-temp=90

### Documentation
- [Supported Models](https://github.com/FlyGoat/RyzenAdj/wiki/Supported-Models)
Expand All @@ -85,7 +85,7 @@ Just follow the build instructions below and you are ready to use it.
### Windows Installation

Before you start installing anything, it is highly recommended getting familiar with RyzenAdj to find out what can be done on your device.
Use the CLI `ryzenadj.exe` to test the support of your device and to benchmark the effects of each setting.
Use the CLI `ryzenadjcli.exe` to test the support of your device and to benchmark the effects of each setting.
If your values don't stay persistent you may want to consider installing our example script for automation.

1. Prepare your favorite RyzenAdj arguments
Expand Down Expand Up @@ -129,16 +129,16 @@ The simplest way to build it:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
if [ -d ~/.local/bin ]; then ln -s ryzenadj ~/.local/bin/ryzenadj && echo "symlinked to ~/.local/bin/ryzenadj"; fi
if [ -d ~/.bin ]; then ln -s ryzenadj ~/.bin/ryzenadj && echo "symlinked to ~/.bin/ryzenadj"; fi
if [ -d ~/.local/bin ]; then ln -s ryzenadjcli ~/.local/bin/ryzenadjcli && echo "symlinked to ~/.local/bin/ryzenadjcli"; fi
if [ -d ~/.bin ]; then ln -s ryzenadjcli ~/.bin/ryzenadjcli && echo "symlinked to ~/.bin/ryzenadjcli"; fi

### Windows

It can be built by Visual Studio + MSVC automaticaly, or Clang + Nmake in command line.
However, as for now, MingW-gcc can't be used to compile for some reason.

Required dll is included in ./win32 of source tree. Please put the dll
library and sys driver in the same folder with ryzenadj.exe.
library and sys driver in the same folder with ryzenadjcli.exe.

We don't recommend you to build by yourself on Windows since the environment configuarion
is very complicated. If you would like to use ryzenadj functions in your program, see libryzenadj.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ do {
} while(0);

static const char *const usage[] = {
"ryzenadj [options]",
"ryzenadjcli [options]",
NULL,
};

Expand Down
2 changes: 1 addition & 1 deletion win32/demo.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
%~dp0\ryzenadj.exe --stapm-limit=40000 --fast-limit=45000 --slow-limit=45000 --tctl-temp=90
%~dp0\ryzenadjcli.exe --stapm-limit=40000 --fast-limit=45000 --slow-limit=45000 --tctl-temp=90
pause

0 comments on commit cc01c67

Please sign in to comment.