aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-16 21:33:15 +0200
committerGitHub <[email protected]>2023-05-16 21:33:15 +0200
commit43af8814456f337b3a98a1dbda1c6dbe123293a2 (patch)
treee8d9b7a5343fe2ed8b1af8d0add8a6c62a81b4f9 /src/zencore/include
parentimplemented subtree copying (diff)
downloadzen-43af8814456f337b3a98a1dbda1c6dbe123293a2.tar.xz
zen-43af8814456f337b3a98a1dbda1c6dbe123293a2.zip
added benchmark utility command `bench` (#298)
currently this implements a way (`zen bench --purge`) to purge the standby lists on Windows. This basically flushes the file system cache and is useful to put your system in a consistent state before running benchmarks
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/thread.h b/src/zencore/include/zencore/thread.h
index 09c25996f..cc1a692a0 100644
--- a/src/zencore/include/zencore/thread.h
+++ b/src/zencore/include/zencore/thread.h
@@ -216,6 +216,7 @@ public:
ZENCORE_API [[nodiscard]] bool IsRunning() const;
ZENCORE_API [[nodiscard]] bool IsValid() const;
ZENCORE_API bool Wait(int TimeoutMs = -1);
+ ZENCORE_API int WaitExitCode();
ZENCORE_API void Terminate(int ExitCode);
ZENCORE_API void Reset();
[[nodiscard]] inline int Pid() const { return m_Pid; }