-
Notifications
You must be signed in to change notification settings - Fork 55
/
DiskBench.h
88 lines (79 loc) · 1.64 KB
/
DiskBench.h
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : [email protected]
// Web : https://crystalmark.info/
// License : MIT License
/*---------------------------------------------------------------------------*/
#pragma once
#define TIMER_ID 5963
// Common Message
#define ALL_0X00_0FILL L"<0Fill>"
// Benchmark
#define BENCHMARK_READ 1
#define BENCHMARK_WRITE 2
#define BENCHMARK_READ_WRITE 3
enum TEST_DATA_TYPE
{
TEST_DATA_RANDOM = 0,
TEST_DATA_ALL0X00,
TEST_DATA_ALL0XFF,
};
enum AFFINITY_MODE
{
AFFINITY_DISABLED = 0,
AFFINITY_ENABLED,
};
enum PROFILE
{
PROFILE_DEFAULT = 0,
PROFILE_PEAK,
PROFILE_REAL,
PROFILE_DEMO,
PROFILE_DEFAULT_MIX,
PROFILE_PEAK_MIX,
PROFILE_REAL_MIX,
};
enum DISK_SPD_CMD
{
TEST_CREATE_FILE = 0,
TEST_DELETE_FILE,
TEST_READ_0,
TEST_READ_1,
TEST_READ_2,
TEST_READ_3,
TEST_READ_4,
TEST_READ_5,
TEST_READ_6,
TEST_READ_7,
TEST_READ_8,
TEST_WRITE_0,
TEST_WRITE_1,
TEST_WRITE_2,
TEST_WRITE_3,
TEST_WRITE_4,
TEST_WRITE_5,
TEST_WRITE_6,
TEST_WRITE_7,
TEST_WRITE_8,
TEST_MIX_0,
TEST_MIX_1,
TEST_MIX_2,
TEST_MIX_3,
TEST_MIX_4,
TEST_MIX_5,
TEST_MIX_6,
TEST_MIX_7,
TEST_MIX_8,
};
UINT ExecDiskBenchAll(LPVOID dlg);
UINT ExecDiskBenchAllPeak(LPVOID dlg);
UINT ExecDiskBenchAllReal(LPVOID dlg);
UINT ExecDiskBenchAllDemo(LPVOID dlg);
UINT ExecDiskBench0(LPVOID dlg);
UINT ExecDiskBench1(LPVOID dlg);
UINT ExecDiskBench2(LPVOID dlg);
UINT ExecDiskBench3(LPVOID dlg);
UINT ExecDiskBench4(LPVOID dlg);
UINT ExecDiskBench5(LPVOID dlg);
UINT ExecDiskBench6(LPVOID dlg);
UINT ExecDiskBench7(LPVOID dlg);