summaryrefslogtreecommitdiff
path: root/indra/llcommon/llprocinfo.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-22 20:51:58 +0300
committerGitHub <noreply@github.com>2024-05-22 20:51:58 +0300
commit6cc7dd09d5e69cf57e6de7fb568a0ad2693f9c9a (patch)
treefab23811a5cedc1ebf01479c852ee92ff62b636c /indra/llcommon/llprocinfo.h
parentef8f4819822288e044ea719feb6af7a1f4df4c4e (diff)
parent7bb5afc11ee5a6af78302a8d76a9a619e2baaab2 (diff)
Merge pull request #1545 from Ansariel/DRTVWR-600-maint-A
Merge main into DRTVWR-600-maint-a
Diffstat (limited to 'indra/llcommon/llprocinfo.h')
-rw-r--r--indra/llcommon/llprocinfo.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/indra/llcommon/llprocinfo.h b/indra/llcommon/llprocinfo.h
index e78bcf490a..5955799812 100644
--- a/indra/llcommon/llprocinfo.h
+++ b/indra/llcommon/llprocinfo.h
@@ -1,4 +1,4 @@
-/**
+/**
* @file llprocinfo.h
* @brief Interface to process/cpu/resource information services.
* @author monty@lindenlab.com
@@ -25,8 +25,8 @@
* $/LicenseInfo$
*/
-#ifndef LL_PROCINFO_H
-#define LL_PROCINFO_H
+#ifndef LL_PROCINFO_H
+#define LL_PROCINFO_H
#include "linden_common.h"
@@ -46,23 +46,23 @@
class LL_COMMON_API LLProcInfo
{
public:
- /// Public types
+ /// Public types
+
+ typedef U64 time_type; /// Relative microseconds
- typedef U64 time_type; /// Relative microseconds
-
private:
- LLProcInfo(); // Not defined
- ~LLProcInfo(); // Not defined
- LLProcInfo(const LLProcInfo &); // Not defined
- void operator=(const LLProcInfo &); // Not defined
+ LLProcInfo(); // Not defined
+ ~LLProcInfo(); // Not defined
+ LLProcInfo(const LLProcInfo &); // Not defined
+ void operator=(const LLProcInfo &); // Not defined
public:
- /// Get accumulated system and user CPU time in
- /// microseconds. Syscalls involved in every invocation.
- ///
- /// Threading: expected to be safe.
- static void getCPUUsage(time_type & user_time, time_type & system_time);
+ /// Get accumulated system and user CPU time in
+ /// microseconds. Syscalls involved in every invocation.
+ ///
+ /// Threading: expected to be safe.
+ static void getCPUUsage(time_type & user_time, time_type & system_time);
};
-
-#endif // LL_PROCINFO_H
+
+#endif // LL_PROCINFO_H