-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLogicalProcessorCoreInfo.cs
44 lines (39 loc) · 1.29 KB
/
LogicalProcessorCoreInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/////////////////////////////////////////////////////////////////////////////////
// paint.net //
// Copyright (C) dotPDN LLC, Rick Brewster, and contributors. //
// All Rights Reserved. //
/////////////////////////////////////////////////////////////////////////////////
using Microsoft.Win32;
using PaintDotNet.MemoryManagement;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace PaintDotNet.SystemLayer
{
public struct LogicalProcessorCoreInfo
{
private ulong processorMask;
private bool sharesFunctionalUnits;
public ulong ProcessorMask
{
get
{
return this.processorMask;
}
}
public bool SharesFunctionalUnits
{
get
{
return this.sharesFunctionalUnits;
}
}
internal LogicalProcessorCoreInfo(ulong processorMask, bool sharesFunctionalUnits)
{
this.processorMask = processorMask;
this.sharesFunctionalUnits = sharesFunctionalUnits;
}
}
}