summaryrefslogtreecommitdiff
path: root/src/vm/comthreadpool.h
diff options
context:
space:
mode:
authorKoundinya Veluri <kouvel@users.noreply.github.com>2019-04-19 19:22:53 -0700
committerGitHub <noreply@github.com>2019-04-19 19:22:53 -0700
commit0410c3e4fe54590eea34aead28f550539d814b98 (patch)
tree0a7d9b8ee2df4e672024ed410ee04e267f8e5bbe /src/vm/comthreadpool.h
parent924d4fcc6961a76881a42a5a4a80479352708ace (diff)
downloadcoreclr-0410c3e4fe54590eea34aead28f550539d814b98.tar.gz
coreclr-0410c3e4fe54590eea34aead28f550539d814b98.tar.bz2
coreclr-0410c3e4fe54590eea34aead28f550539d814b98.zip
Implement APIs for some threading metrics (CoreCLR) (#24113)
Implement APIs for some threading metrics (CoreCLR) API review: https://github.com/dotnet/corefx/issues/35500
Diffstat (limited to 'src/vm/comthreadpool.h')
-rw-r--r--src/vm/comthreadpool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vm/comthreadpool.h b/src/vm/comthreadpool.h
index 6b0f4ec969..d830c9e505 100644
--- a/src/vm/comthreadpool.h
+++ b/src/vm/comthreadpool.h
@@ -28,6 +28,9 @@ public:
static FCDECL2(FC_BOOL_RET, CorSetMinThreads, DWORD workerThreads, DWORD completionPortThreads);
static FCDECL2(VOID, CorGetMinThreads, DWORD* workerThreads, DWORD* completionPortThreads);
static FCDECL2(VOID, CorGetAvailableThreads, DWORD* workerThreads, DWORD* completionPortThreads);
+ static FCDECL0(INT32, GetThreadCount);
+ static FCDECL0(INT64, GetCompletedWorkItemCount);
+ static FCDECL0(INT64, GetPendingUnmanagedWorkItemCount);
static FCDECL0(VOID, NotifyRequestProgress);
static FCDECL0(FC_BOOL_RET, NotifyRequestComplete);