Overwolf

Overwolf

  • Getting Started
  • Docs
  • API
  • Events Status
  • Blog
  • Q&A
  • Support

›overwolf.benchmarking

API Reference

  • Changelog
  • Overview

App Manifest

  • manifest.json
  • Validate your manifest

Available Game Events

  • Games IDs
  • Apex Legends
  • Call of Duty: Warzone
  • CS:GO
  • Dota 2
  • Final Fantasy XIV
  • Dota Underlords
  • Escape From Tarkov
  • Fortnite
  • Hearthstone
  • Heroes of the Storm
  • Legends of Runeterra
  • League of Legends
  • Minecraft
  • MTG Arena
  • Overwatch
  • Path of Exile
  • PUBG
  • PUBG Lite
  • Rainbow Six Siege
  • Rocket League
  • StarCraft II
  • Teamfight Tactics
  • Valorant
  • World of Tanks
  • World of Warcraft
  • World of Warships
  • Warframe
  • Various External APIs

Game Launchers Events

  • Launchers IDs
  • LOL Launcher

overwolf.benchmarking

  • overwolf.benchmarking

overwolf.campaigns

  • overwolf.campaigns.crossapp

overwolf.cryptography

  • overwolf.cryptography

overwolf.extensions

  • overwolf.extensions
  • overwolf.extensions.current
  • overwolf.extensions.sharedData
  • overwolf.extensions.io

overwolf.games

  • overwolf.games
  • overwolf.games.events
  • overwolf.games.inputTracking
  • overwolf.games.launchers
  • overwolf.games.launchers.events

overwolf.io

  • overwolf.io
  • overwolf.io.paths

overwolf.logitech

  • overwolf.logitech
  • overwolf.logitech.arx
  • overwolf.logitech.led

overwolf.media

  • overwolf.media
  • overwolf.media.audio
  • overwolf.media.replays
  • overwolf.media.videos
  • Highlights supported games

overwolf.os

  • overwolf.os
  • overwolf.os.tray

overwolf.profile

  • overwolf.profile
  • overwolf.profile.subscriptions

overwolf.settings

  • overwolf.settings
  • overwolf.settings.hotkeys
  • overwolf.settings.language
  • overwolf.settings.games

overwolf.social

  • overwolf.social
  • overwolf.social.reddit
  • overwolf.social.youtube
  • overwolf.social.discord
  • overwolf.social.gfycat
  • overwolf.social.twitter

overwolf.streaming

  • overwolf.streaming

overwolf.tobii

  • overwolf.tobii

overwolf.utils

  • overwolf.utils

overwolf.web

  • overwolf.web
  • overwolf.web.webserver
  • overwolf.web.websocket

overwolf.windows

  • overwolf.windows
Edit

overwolf.benchmarking API

OBSOLETE

This API is no longer supported and maintained. Some of it’s methods and events might not work as intended.

This is a set of functions for querying system stats and benchmarks. These calls require administrative permissions, which the user may be prompted to grant with a UAC message which may interrupt him while playing. In order to avoid interruptions, it is recommended to ask before requesting permissions.

Methods Reference

  • overwolf.benchmarking.requestHardwareInfo()
  • overwolf.benchmarking.requestProcessInfo()
  • overwolf.benchmarking.requestFpsInfo()
  • overwolf.benchmarking.stopRequesting()
  • overwolf.benchmarking.requestPermissions()

Events Reference

  • overwolf.benchmarking.onHardwareInfoReady
  • overwolf.benchmarking.onProcessInfoReady
  • overwolf.benchmarking.onFpsInfoReady

requestHardwareInfo(interval, callback)

Version added: 0.78

Requests hardware information within a given interval.

See requestPermissions for administrative permissions instructions.

ParameterTypeDescription
intervalintThe desired maximal interval (in milliseconds) in which events will be triggered. Minimum is 500ms
callbackfunctionReturns with the result

Usage

Before calling this function, you should subscribe to the onHardwareInfoReady event.
The event will be triggered every X time, as you set in the requestHardwareInfo interval.

When you want to stop receiving the information, please call stopRequesting().

Example data

See the onHardwareInfoReady event.

requestProcessInfo(interval, callback)

Version added: 0.78

Requests process information within a given interval.

See requestPermissions for administrative permissions instructions.

ParameterTypeDescription
intervalintThe desired maximal interval (in milliseconds) in which events will be triggered. Minimum is 500ms
callbackfunctionReturns with the result

Usage

Before calling this function, you should subscribe to the onProcessInfoReady event.
The event will be triggered every X time, as you set in the requestProcessInfo interval.

When you want to stop receiving the information, please call stopRequesting().

Example data

See the onProcessInfoReady event.

requestFpsInfo(interval, callback)

Version added: 0.78

Requests game FPS information within a given interval.

ParameterTypeDescription
intervalintThe desired maximal interval (in milliseconds) in which events will be triggered. Minimum is 500ms
callbackfunctionReturns with the result

Usage

Before calling this function, you should subscribe to the onFpsInfoReady event.
The event will be triggered every X time, as you set in the requestFpsInfo interval.

When you want to stop receiving the information, please call stopRequesting().

Example data

See the onFpsInfoReady event.

stopRequesting()

Version added: 0.78

Stop receiving hardware/process events.

Use this when you no longer want to receive events or when you close your app.

requestPermissions(callback)

Version added: 0.78

In case Overwolf requires administrative permissions, and after prompting the user to grant more permissions, call this function and then request your desired benchmarking information.

ParameterTypeDescription
callbackfunctionReturns with the result

More info

Note that the some functions in the benchmarking API requires Overwolf to have Administrative permissions, and should they be missing, the callback will return 'Permissions Required'.

You will then have to ask the app user for permissions and according to the user’s choice, call requestPermissions.

It is then necessary to call the requested function (for example, requestProcessInfo) again.

onHardwareInfoReady

Version added: 0.78

Fired when hardware information is ready with a JSON containing the information.

Event data example: Success

"General": {
    "PowerPlan": "Balanced"
},
"Mainboard": {
    "Name": "ASUS P8H61-M",
    "Voltages": [{
                "Name": "CPU VCore",
                "Value": 0.968,
...

onProcessInfoReady

Version added: 0.78

Fired when process information is ready with a JSON containing the information.

Event data example: Success

The event returns the top ten processes in terms of CPU usage and Memory usage.

{
    "TopCpuUsage": [
        {
            "PrivateWorkingSet": 17674240,
            "PrecentProcessorTime": 5.703688196431727,
            "Id": 6988,
            "Name": "OverwolfBrowser#3"
        },
        {
            "PrivateWorkingSet": 16150528,
            "PrecentProcessorTime": 5.703688196431727,
            "Id": 8216,
            "Name": "OverwolfBenchmarking"
        },
        ...
    ],
    "TopMemoryUsage": [
        {
            "PrivateWorkingSet": 611196928,
            "PrecentProcessorTime": 2.851844098215878,
            "Id": 5484,
            "Name": "firefox"
        },
        {
            "PrivateWorkingSet": 141586432,
            "PrecentProcessorTime": 2.851844098215878,
            "Id": 596,
            "Name": "Overwolf"
        },
        ...
    ]
}

onFpsInfoReady

Version added: 0.78

Fired when FPS information is ready with a JSON containing the information.

Event data example: Success

If you are in a game:

{ 
    "Fps": 61 
}

If you are not in a game:

{
    "Fps":"Not in a game"
}
Last updated on 2020-8-31 by eransharv
← LOL Launcheroverwolf.campaigns.crossapp →
  • Methods Reference
  • Events Reference
  • requestHardwareInfo(interval, callback)
  • requestProcessInfo(interval, callback)
  • requestFpsInfo(interval, callback)
  • stopRequesting()
  • requestPermissions(callback)
  • onHardwareInfoReady
  • onProcessInfoReady
  • onFpsInfoReady
  • Legal
  • Terms overview
  • Developer's terms
  • App terms
  • Overwolf terms
  • Overwolf Privacy policy
  • Support
  • Questions and Answers
  • Discord
  • Slack
  • Facebook
  • Twitter
  • Documentation
  • Changelog
  • API
  • App Creation Process
  • Best Practices
  • Game Events status
  • Information
  • Careers
  • Fund
  • Developers Blog
  • Overwolf Appstore
  • Advertise on Overwolf