From 7a14b639574fb7139761c7ca4986fa03e99b7366 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Tue, 22 Nov 2016 02:02:49 +0100 Subject: NOISSUE send custom analytics values * System, Java and CPU architecture (either 32 or 64). * Java version. * System memory size in MB. * Java min/max heap size in MB. --- libraries/ganalytics/include/sys.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libraries/ganalytics/include/sys.h (limited to 'libraries/ganalytics/include/sys.h') diff --git a/libraries/ganalytics/include/sys.h b/libraries/ganalytics/include/sys.h new file mode 100644 index 00000000..40e4e513 --- /dev/null +++ b/libraries/ganalytics/include/sys.h @@ -0,0 +1,17 @@ +#pragma once +#include + +namespace Sys +{ +/** + * Get operation system name and version. + * @return os A QString with the name and version of the operating system. + */ +QString getSystemInfo(); + +uint64_t getSystemRam(); + +bool isSystem64bit(); + +bool isCPU64bit(); +} -- cgit