Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ALTV-601 [client] Need to show PC performance metrics #114

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ICore.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,12 @@ namespace alt
virtual alt::IAudioFilter* GetVoiceFilter(uint32_t player) const = 0;
virtual void UpdateClipContext(const std::unordered_map<std::string, std::string>& context) = 0;
virtual bool ReloadVehiclePhysics(uint32_t modelHash) = 0;

virtual double GetCPULoad() const = 0;
virtual uint32_t GetVideoMemoryUsage() const = 0;
virtual uint32_t GetRAMUsage() const = 0;
virtual uint32_t GetTotalRAM() const = 0;
virtual uint32_t GetCurrentProcessRamUsage() const = 0;
#endif

#ifdef ALT_SERVER_API // Server methods
Expand Down