Installing PVRPerfServer¶
To use PVRPerfServer, it is first necessary to install PVRTune. Once PVRTune is installed, PVRPerfServer can be found within the PVRTune install directory: <InstallDir>\PVRTuneDeveloper\PVRPerfServer\<PLATFORM>\.
The installation method has close links to the connection method.
When not using Remote Deployment, if the device is in the same subnet, or is a device connected via USB, or is a Virtual device: in many cases once PVRPerfServer is running it will appear at the top of the “Shortcuts” list as a “Broadcasting” device. This can be used as a shortcut to connecting to the running PVRPerfServer.
Android Devices¶
PVRPerfServer APK¶
The PVRPerfServer command-line options cannot be used, and access to the /proc filesystem for CPU and memory usage data and process names may fail. ABIs supported: armeabi-v7a, arm64-v8a, x86, x86_64, riscv64.
Remote Deployment from PVRTune GUI¶
PVRTune can remote deploy PVRPerfServer to Android target devices. This means installing, launching, and connecting to PVRPerfServer from the GUI, rather manually installing a PVRPerfServer binary on the device first.
Select “Android USB or Virtual Device connection” or “Android network connection…” as appropriate in the PVRTune GUI.
PVRTune’s Logcat docking window may be used.
Manual install¶
To install PVRPerfServer on a Android device, first connect to the device via adb, then install the PVRPerfServer APK:
adb connect <device ip>
adb install PVRPerfServerComplete.apk
In the Android app list GUI you can now run the application named PVRPerfServerComplete.
Select “Network connection (localhost)” in the PVRTune GUI if the Android device is connected via USB or is a Virtual device (e.g. running in Android Studio); or “Network connection…” to connect over the network.
PVRTune’s Logcat docking window is not functional.
PVRPerfServer CLI¶
The PVRPerfServer command-line options can be used, and access to the /proc filesystem for CPU and memory usage data and process names may succeed. ABIs supported: armeabi-v7a, arm64-v8a, x86, x86_64, riscv64 (beta).
Manual install¶
To install PVRPerfServer CLI on a Android device, the binary needs to be pushed from the PVRTune directory to the Android device and then executed with adb shell. A suitable directory can vary per device, and may be affected by whether the device is rooted. E.g.
adb shell "mkdir /data/local/tmp"
adb push PVRPerfServerComplete /data/local/tmp
adb shell "cd /data/local/tmp; ls -l; chmod +x PVRPerfServerComplete; ls -l; ./PVRPerfServerComplete"
For a live connecton: select “Network connection (localhost)” in the PVRTune GUI if the Android device is connected via USB or is a Virtual device (e.g. running in Android Studio); or “Network connection…” to connect over the network.
PVRTune’s Logcat docking window is not functional.
To record to a file: see the --sendto command-line option and append it to the final adb shell command above.
Linux, QNX or Tizen Devices¶
Remote Deployment from PVRTune GUI¶
PVRTune can remote deploy PVRPerfServer to SSH target devices. This means installing, launching, and connecting to PVRPerfServer from the GUI, rather than needing to install an instance of PVRPerfServer on the device first.
Select “Network SSH connection…” from the PVRTune GUI.
Manual install¶
Copy the appropriate PVRPerfServer binary from the PVRTune package to an appropriate location on the target device.
From a command-line interface, execute the PVRPerfServer binary. This binary may need to be made executable using chmod +x.
Select “Network connection…” in the PVRTune GUI to connect over the network.
Windows Devices¶
Copy the appropriate PVRPerfServer binary from the PVRTune package to an appropriate location on the target device.
From a command-line interface, execute the PVRPerfServer binary.
Select “Network connection (localhost)” in the PVRTune GUI if the device is connected via USB or is a Virtual device; or “Network connection…” to connect over the network.