-
Notifications
You must be signed in to change notification settings - Fork 1
/
LogicalProcessorNumaNodeInfo.cs
44 lines (39 loc) · 1.24 KB
/
LogicalProcessorNumaNodeInfo.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 LogicalProcessorNumaNodeInfo
{
private ulong processorMask;
private int nodeNumber;
public ulong ProcessorMask
{
get
{
return this.processorMask;
}
}
public int NodeNumber
{
get
{
return this.nodeNumber;
}
}
internal LogicalProcessorNumaNodeInfo(ulong processorMask, int nodeNumber)
{
this.processorMask = processorMask;
this.nodeNumber = nodeNumber;
}
}
}