|
@ -123,15 +123,15 @@ void RunTestST(const size_t size) { |
|
|
|
|
|
|
|
|
static constexpr int tid = 0; |
|
|
static constexpr int tid = 0; |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] first access --- " << std::endl; |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] first access --- " << std::endl; |
|
|
|
|
|
|
|
|
PerformAccessAndTest(data, size, tid); |
|
|
PerformAccessAndTest(data, size, tid); |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] second access --- " << std::endl; |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] second access --- " << std::endl; |
|
|
|
|
|
|
|
|
PerformAccessAndTest(data, size, tid); |
|
|
PerformAccessAndTest(data, size, tid); |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] end of application --- " << std::endl; |
|
|
|
|
|
|
|
|
std::cout << "[" << tid << "] end of application --- " << std::endl; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void RunTestMT(const size_t size) { |
|
|
void RunTestMT(const size_t size) { |
|
|