forked from intel/pcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcm-pcie.h
692 lines (598 loc) · 20.5 KB
/
pcm-pcie.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
#pragma once
/*
Copyright (c) 2020, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//written by Roman Sudarikov
#include <iostream>
#include "cpucounters.h"
#include "utils.h"
#include <vector>
#include <array>
#include <string>
#include <initializer_list>
#include <algorithm>
#if defined(_MSC_VER)
typedef unsigned int uint;
#endif
using namespace std;
using namespace pcm;
const uint32 max_sockets = 4;
#define NUM_SAMPLES (1)
static void print(const vector<string> &listNames, bool csv)
{
for(auto& name : listNames)
if (csv)
cout << "," << name;
else
cout << "| " << name << " ";
}
static uint getIdent (const string &s)
{
/*
* We are adding "| " before and " " after the event name hence +5 to
* strlen(eventNames). Rest of the logic is to center the event name.
*/
uint ident = 5 + s.size();
return (3 + ident / 2);
}
class IPlatform
{
void init();
public:
IPlatform(PCM *m, bool csv, bool bandwidth, bool verbose);
virtual void getEvents() = 0;
virtual void printHeader() = 0;
virtual void printEvents() = 0;
virtual void printAggregatedEvents() = 0;
virtual void cleanup() = 0;
static IPlatform *getPlatform(PCM* m, bool csv, bool bandwidth,
bool verbose, uint32 delay);
virtual ~IPlatform() { }
protected:
PCM *m_pcm;
bool m_csv;
bool m_bandwidth;
bool m_verbose;
uint m_socketCount;
enum eventFilter {TOTAL, MISS, HIT, fltLast};
vector<string> filterNames, bwNames;
};
void IPlatform::init()
{
print_cpu_details();
if (m_socketCount > max_sockets)
{
cerr << "Only systems with up to "<<max_sockets<<" sockets are supported! Program aborted\n";
exit(EXIT_FAILURE);
}
if (m_pcm->isSomeCoreOfflined())
{
cerr << "Core offlining is not supported. Program aborted\n";
exit(EXIT_FAILURE);
}
}
IPlatform::IPlatform(PCM *m, bool csv, bool bandwidth, bool verbose) :
m_pcm(m),
filterNames {"(Total)", "(Miss)", "(Hit)"},
bwNames {"PCIe Rd (B)", "PCIe Wr (B)"}
{
m_csv = csv;
m_bandwidth = bandwidth;
m_verbose = verbose;
m_socketCount = m_pcm->getNumSockets();
init();
}
/*
* Common API to program, access and represent required Uncore counters.
* The only difference is event opcodes and the way how bandwidth is calculated.
*/
class LegacyPlatform: public IPlatform
{
enum {
before,
after,
total
};
vector<string> eventNames;
vector<eventGroup_t> eventGroups;
uint32 m_delay;
typedef vector <vector <uint64>> eventCount_t;
array<eventCount_t, total> eventCount;
virtual void getEvents() final;
virtual void printHeader() final;
virtual void printEvents() final;
virtual void printAggregatedEvents() final;
virtual void cleanup() final;
void printBandwidth(uint socket, eventFilter filter);
void printBandwidth();
void printSocketScopeEvent(uint socket, eventFilter filter, uint idx);
void printSocketScopeEvents(uint socket, eventFilter filter);
uint64 getEventCount (uint socket, uint idx);
uint eventGroupOffset(eventGroup_t &eventGroup);
void getEventGroup(eventGroup_t &eventGroup);
void printAggregatedEvent(uint idx);
public:
LegacyPlatform(initializer_list<string> events, initializer_list <eventGroup_t> eventCodes,
PCM *m, bool csv, bool bandwidth, bool verbose, uint32 delay) :
IPlatform(m, csv, bandwidth, verbose),
eventNames(events), eventGroups(eventCodes)
{
int eventsCount = 0;
for (auto &group : eventGroups) eventsCount += group.size();
m_delay = uint32(delay * 1000 / (eventGroups.size()) / NUM_SAMPLES);
if (m_delay * eventsCount * NUM_SAMPLES < delay * 1000) ++m_delay;
eventSample.resize(m_socketCount);
for (auto &e: eventSample)
e.resize(eventsCount);
for (auto &run : eventCount) {
run.resize(m_socketCount);
for (auto &events : run)
events.resize(eventsCount);
}
};
protected:
vector<vector<uint64>> eventSample;
virtual uint64 getReadBw(uint socket, eventFilter filter) = 0;
virtual uint64 getWriteBw(uint socket, eventFilter filter) = 0;
virtual uint64 getReadBw() = 0;
virtual uint64 getWriteBw() = 0;
virtual uint64 event(uint socket, eventFilter filter, uint idx) = 0;
};
void LegacyPlatform::cleanup()
{
for(auto& socket : eventSample)
fill(socket.begin(), socket.end(), 0);
}
inline uint64 LegacyPlatform::getEventCount (uint skt, uint idx)
{
return eventGroups.size() * (eventCount[after][skt][idx] -
eventCount[before][skt][idx]);
}
uint LegacyPlatform::eventGroupOffset(eventGroup_t &eventGroup)
{
uint offset = 0;
uint grpIdx = &eventGroup - eventGroups.data();
for (auto iter = eventGroups.begin(); iter < eventGroups.begin() + grpIdx; iter++)
offset += iter->size();
return offset;
}
void LegacyPlatform::getEventGroup(eventGroup_t &eventGroup)
{
m_pcm->programPCIeEventGroup(eventGroup);
uint offset = eventGroupOffset(eventGroup);
for (auto &run : eventCount) {
for(uint skt =0; skt < m_socketCount; ++skt)
for (uint ctr = 0; ctr < eventGroup.size(); ++ctr)
run[skt][ctr + offset] = m_pcm->getPCIeCounterData(skt, ctr);
MySleepMs(m_delay);
}
for(uint skt = 0; skt < m_socketCount; ++skt)
for (uint idx = offset; idx < offset + eventGroup.size(); ++idx)
eventSample[skt][idx] += getEventCount(skt, idx);
}
void LegacyPlatform::getEvents()
{
for (auto& evGroup : eventGroups)
getEventGroup(evGroup);
}
void LegacyPlatform::printHeader()
{
cout << "Skt";
if (!m_csv)
cout << ' ';
print(eventNames, m_csv);
if (m_bandwidth)
print(bwNames, m_csv);
cout << "\n";
}
void LegacyPlatform::printBandwidth(uint skt, eventFilter filter)
{
typedef uint64 (LegacyPlatform::*bwFunc_t)(uint, eventFilter);
vector<bwFunc_t> bwFunc = {
&LegacyPlatform::getReadBw,
&LegacyPlatform::getWriteBw,
};
if (!m_csv)
for(auto& bw_f : bwFunc) {
int ident = getIdent(bwNames[&bw_f - bwFunc.data()]);
cout << setw(ident)
<< unit_format((this->*bw_f)(skt,filter))
<< setw(5 + bwNames[&bw_f - bwFunc.data()].size() - ident)
<< ' ';
}
else
for(auto& bw_f : bwFunc)
cout << ',' << (this->*bw_f)(skt,filter);
}
void LegacyPlatform::printSocketScopeEvent(uint skt, eventFilter filter, uint idx)
{
uint64 value = event(skt, filter, idx);
if (m_csv)
cout << ',' << value;
else
{
int ident = getIdent(eventNames[idx]);
cout << setw(ident)
<< unit_format(value)
<< setw(5 + eventNames[idx].size() - ident)
<< ' ';
}
}
void LegacyPlatform::printSocketScopeEvents(uint skt, eventFilter filter)
{
if (!m_csv) {
int ident = strlen("Skt |") / 2;
cout << setw(ident) << skt << setw(ident) << ' ';
} else
cout << skt;
for(uint idx = 0; idx < eventNames.size(); ++idx)
printSocketScopeEvent(skt, filter, idx);
if (m_bandwidth)
printBandwidth(skt, filter);
if(m_verbose)
cout << filterNames[filter];
cout << "\n";
}
void LegacyPlatform::printEvents()
{
for(uint skt =0; skt < m_socketCount; ++skt)
if (!m_verbose)
printSocketScopeEvents(skt, TOTAL);
else
for (uint flt = TOTAL; flt < fltLast; ++flt)
printSocketScopeEvents(skt, static_cast<eventFilter>(flt));
}
void LegacyPlatform::printAggregatedEvent(uint idx)
{
uint64 value = 0;
for(uint skt =0; skt < m_socketCount; ++skt)
value += event(skt, TOTAL, idx);
int ident = getIdent(eventNames[idx]);
cout << setw(ident)
<< unit_format(value)
<< setw(5 + eventNames[idx].size() - ident) << ' ';
}
void LegacyPlatform::printBandwidth()
{
typedef uint64 (LegacyPlatform::*bwFunc_t)();
vector<bwFunc_t> bwFunc = {
&LegacyPlatform::getReadBw,
&LegacyPlatform::getWriteBw,
};
for(auto& bw_f : bwFunc) {
int ident = getIdent(bwNames[&bw_f - bwFunc.data()]);
cout << setw(ident)
<< unit_format((this->*bw_f)())
<< setw(5 + bwNames[&bw_f - bwFunc.data()].size() - ident)
<< ' ';
}
}
void LegacyPlatform::printAggregatedEvents()
{
if (!m_csv)
{
uint len = strlen("Skt ");
for(auto& evt : eventNames)
len += (5 + evt.size());
if (m_bandwidth)
for(auto& bw : bwNames)
len += (5 + bw.size());
while (len--)
cout << '-';
cout << "\n";
int ident = strlen("Skt |") /2 ;
cout << setw(ident) << "*" << setw(ident) << ' ';
for (uint idx = 0; idx < eventNames.size(); ++idx)
printAggregatedEvent(idx);
if (m_bandwidth)
printBandwidth();
if (m_verbose)
cout << "(Aggregate)\n\n";
else
cout << "\n\n";
}
}
// CLX, SKX
class PurleyPlatform: public LegacyPlatform
{
public:
PurleyPlatform(PCM *m, bool csv, bool bandwidth, bool verbose, uint32 delay) :
LegacyPlatform( {"PCIRdCur", "RFO", "CRd", "DRd","ItoM", "PRd", "WiL"},
{
{0x00043c33}, //PCIRdCur_miss
{0x00043c37}, //PCIRdCur_hit
{0x00040033}, //RFO_miss
{0x00040037}, //RFO_hit
{0x00040233}, //CRd_miss
{0x00040237}, //CRd_hit
{0x00040433}, //DRd_miss
{0x00040437}, //DRd_hit
{0x00049033}, //ItoM_miss
{0x00049037}, //ItoM_hit
{0x40040e33}, //PRd_miss
{0x40040e37}, //PRd_hit
{0x40041e33}, //WiL_miss
{0x40041e37}, //WiL_hit
},
m, csv, bandwidth, verbose, delay)
{
};
private:
enum eventIdx {
PCIRdCur,
RFO,
CRd,
DRd,
ItoM,
PRd,
WiL,
};
enum Events {
PCIRdCur_miss,
PCIRdCur_hit,
RFO_miss,
RFO_hit,
CRd_miss,
CRd_hit,
DRd_miss,
DRd_hit,
ItoM_miss,
ItoM_hit,
PRd_miss,
PRd_hit,
WiL_miss,
WiL_hit,
};
virtual uint64 getReadBw(uint socket, eventFilter filter);
virtual uint64 getWriteBw(uint socket, eventFilter filter);
virtual uint64 getReadBw();
virtual uint64 getWriteBw();
virtual uint64 event(uint socket, eventFilter filter, uint idx);
};
uint64 PurleyPlatform::event(uint socket, eventFilter filter, uint idx)
{
uint64 event = 0;
if(filter == TOTAL)
event = eventSample[socket][2 * idx] +
eventSample[socket][2 * idx + 1];
else if (filter == MISS)
event = eventSample[socket][2 * idx];
else if (filter == HIT)
event = eventSample[socket][2 * idx + 1];
return event;
}
uint64 PurleyPlatform::getReadBw(uint socket, eventFilter filter)
{
uint64 readBw = event(socket, filter, PCIRdCur) +
event(socket, filter, RFO) +
event(socket, filter, CRd) +
event(socket, filter, DRd);
return (readBw * 64ULL);
}
uint64 PurleyPlatform::getReadBw()
{
uint64 readBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
readBw += (event(socket, TOTAL, PCIRdCur) +
event(socket, TOTAL, RFO) +
event(socket, TOTAL, CRd) +
event(socket, TOTAL, DRd));
return (readBw * 64ULL);
}
uint64 PurleyPlatform::getWriteBw(uint socket, eventFilter filter)
{
uint64 writeBw = event(socket, filter, RFO) +
event(socket, filter, ItoM);
return (writeBw * 64ULL);
}
uint64 PurleyPlatform::getWriteBw()
{
uint64 writeBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
writeBw += (event(socket, TOTAL, RFO) +
event(socket, TOTAL, ItoM));
return (writeBw * 64ULL);
}
//BDX, HSX
class GrantleyPlatform: public LegacyPlatform
{
public:
GrantleyPlatform(PCM *m, bool csv, bool bandwidth, bool verbose, uint32 delay) :
LegacyPlatform( {"PCIRdCur", "RFO", "CRd", "DRd","ItoM", "PRd", "WiL"},
{
{0x19e10000}, //PCIRdCur_miss
{0x19e00000}, //PCIRdCur_total
{0x18030000}, //RFO_miss
{0x18020000}, //RFO_total
{0x18110000}, //CRd_miss
{0x18100000}, //CRd_total
{0x18210000}, //DRd_miss
{0x18200000}, //DRd_total
{0x1c830000}, //ItoM_miss
{0x1c820000}, //ItoM_total
{0x18710000}, //PRd_miss
{0x18700000}, //PRd_total
{0x18f10000}, //WiL_miss
{0x18f00000}, //WiL_total
},
m, csv, bandwidth, verbose, delay)
{
};
private:
enum eventIdx {
PCIRdCur,
RFO,
CRd,
DRd,
ItoM,
PRd,
WiL,
};
enum Events {
PCIRdCur_miss,
PCIRdCur_total,
RFO_miss,
RFO_total,
CRd_miss,
CRd_total,
DRd_miss,
DRd_total,
ItoM_miss,
ItoM_total,
PRd_miss,
PRd_total,
WiL_miss,
WiL_total,
};
virtual uint64 getReadBw(uint socket, eventFilter filter);
virtual uint64 getWriteBw(uint socket, eventFilter filter);
virtual uint64 getReadBw();
virtual uint64 getWriteBw();
virtual uint64 event(uint socket, eventFilter filter, uint idx);
};
uint64 GrantleyPlatform::event(uint socket, eventFilter filter, uint idx)
{
uint64 event = 0;
if(filter == HIT)
event = eventSample[socket][2 * idx + 1] -
eventSample[socket][2 * idx];
else if (filter == MISS)
event = eventSample[socket][2 * idx];
else if (filter == TOTAL)
event = eventSample[socket][2 * idx + 1];
return event;
}
uint64 GrantleyPlatform::getReadBw(uint socket, eventFilter filter)
{
uint64 readBw = event(socket, filter, PCIRdCur) +
event(socket, filter, RFO) +
event(socket, filter, CRd) +
event(socket, filter, DRd);
return (readBw * 64ULL);
}
uint64 GrantleyPlatform::getReadBw()
{
uint64 readBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
readBw += (event(socket, TOTAL, PCIRdCur) +
event(socket, TOTAL, RFO) +
event(socket, TOTAL, CRd) +
event(socket, TOTAL, DRd));
return (readBw * 64ULL);
}
uint64 GrantleyPlatform::getWriteBw(uint socket, eventFilter filter)
{
uint64 writeBw = event(socket, filter, RFO) +
event(socket, filter, ItoM);
return (writeBw * 64ULL);
}
uint64 GrantleyPlatform::getWriteBw()
{
uint64 writeBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
writeBw += (event(socket, TOTAL, RFO) +
event(socket, TOTAL, ItoM));
return (writeBw * 64ULL);
}
//IVT, JKT
class BromolowPlatform: public LegacyPlatform
{
public:
BromolowPlatform(PCM *m, bool csv, bool bandwidth, bool verbose, uint32 delay) :
LegacyPlatform( {"PCIeRdCur", "PCIeNSRd", "PCIeWiLF", "PCIeItoM","PCIeNSWr", "PCIeNSWrF"},
{
{0x19e10000}, //PCIeRdCur_miss
{0x19e00000}, //PCIeRdCur_total
{0x1e410000}, //PCIeNSRd_miss
{0x1e400000}, //PCIeNSRd_total
{0x19410000}, //PCIeWiLF_miss
{0x19400000}, //PCIeWiLF_total
{0x19c10000}, //PCIeItoM_miss
{0x19c00000}, //PCIeItoM_total
{0x1e510000}, //PCIeNSWr_miss
{0x1e500000}, //PCIeNSWr_total
{0x1e610000}, //PCIeNSWrF_miss
{0x1e600000}, //PCIeNSWrF_total
},
m, csv, bandwidth, verbose, delay)
{
};
private:
enum eventIdx {
PCIeRdCur,
PCIeNSRd,
PCIeWiLF,
PCIeItoM,
PCIeNSWr,
PCIeNSWrF,
};
enum Events {
PCIeRdCur_miss,
PCIeRdCur_total,
PCIeNSRd_miss,
PCIeNSRd_total,
PCIeWiLF_miss,
PCIeWiLF_total,
PCIeItoM_miss,
PCIeItoM_total,
PCIeNSWr_miss,
PCIeNSWr_total,
PCIeNSWrF_miss,
PCIeNSWrF_total,
};
virtual uint64 getReadBw(uint socket, eventFilter filter);
virtual uint64 getWriteBw(uint socket, eventFilter filter);
virtual uint64 getReadBw();
virtual uint64 getWriteBw();
virtual uint64 event(uint socket, eventFilter filter, uint idx);
};
uint64 BromolowPlatform::event(uint socket, eventFilter filter, uint idx)
{
uint64 event = 0;
if(filter == HIT)
event = eventSample[socket][2 * idx + 1] -
eventSample[socket][2 * idx];
else if (filter == MISS)
event = eventSample[socket][2 * idx];
else if (filter == TOTAL)
event = eventSample[socket][2 * idx + 1];
return event;
}
uint64 BromolowPlatform::getReadBw(uint socket, eventFilter filter)
{
uint64 readBw = event(socket, filter, PCIeRdCur) +
event(socket, filter, PCIeNSWr);
return (readBw * 64ULL);
}
uint64 BromolowPlatform::getReadBw()
{
uint64 readBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
readBw += (event(socket, TOTAL, PCIeRdCur) +
event(socket, TOTAL, PCIeNSWr));
return (readBw * 64ULL);
}
uint64 BromolowPlatform::getWriteBw(uint socket, eventFilter filter)
{
uint64 writeBw = event(socket, filter, PCIeWiLF) +
event(socket, filter, PCIeItoM) +
event(socket, filter, PCIeNSWr) +
event(socket, filter, PCIeNSWrF);
return (writeBw * 64ULL);
}
uint64 BromolowPlatform::getWriteBw()
{
uint64 writeBw = 0;
for (uint socket = 0; socket < m_socketCount; socket++)
writeBw += (event(socket, TOTAL, PCIeWiLF) +
event(socket, TOTAL, PCIeItoM) +
event(socket, TOTAL, PCIeNSWr) +
event(socket, TOTAL, PCIeNSWrF));
return (writeBw * 64ULL);
}