Home
last modified time | relevance | path

Searched refs:timeT (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/c_utils/base/test/benchmarktest/safe_queue_benchmark_test/
H A Dsafe_queue_benchmark_test.cpp142 void AllThreadPut(std::time_t &timeT) in AllThreadPut() argument
147 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadPut()
150 void AllThreadGet(std::time_t &timeT) in AllThreadGet() argument
155 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadGet()
159 void AllThreadErase(std::time_t &timeT) in AllThreadErase() argument
164 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadErase()
168 void AllThreadEmpty(std::time_t &timeT) in AllThreadEmpty() argument
173 std::ref(demoDatas[i]), system_clock::from_time_t(timeT)); in AllThreadEmpty()
262 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in BENCHMARK_F()
263 timeT in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_safe_queue_test.cpp89 void AllThreadPut(std::time_t &timeT) in AllThreadPut() argument
95 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadPut()
98 void AllThreadGet(std::time_t &timeT) in AllThreadGet() argument
104 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in AllThreadGet()
167 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in HWTEST_F()
168 timeT += 2; in HWTEST_F()
169 testThread.AllThreadPut(timeT); in HWTEST_F()
212 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in HWTEST_F()
213 timeT += 2; in HWTEST_F()
216 putInTestThread.AllThreadPut(timeT); in HWTEST_F()
[all...]
H A Dutils_safe_block_queue_test.cpp208 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in GetTimeAddTwoSeconds()
209 cout << "start time: " << timeT << endl; in GetTimeAddTwoSeconds()
211 timeT += twoSec; in GetTimeAddTwoSeconds()
212 return timeT; in GetTimeAddTwoSeconds()
229 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
233 threads[i] = std::thread(PutHandleThreadDataTime, std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
295 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
302 threads[i] = std::thread(PutHandleThreadDataTime, std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
343 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
349 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
449 std::time_t timeT = GetTimeAddTwoSeconds(); HWTEST_F() local
499 std::time_t timeT = GetTimeAddTwoSeconds(); HWTEST_F() local
[all...]
H A Dutils_safe_map_test.cpp251 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in HWTEST_F()
252 timeT += 2; in HWTEST_F()
255 threads[i] = std::thread(lamfuncIterate, std::ref(demoData), i, system_clock::from_time_t(timeT)); in HWTEST_F()
294 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in HWTEST_F()
295 timeT += 2; in HWTEST_F()
299 threads[i] = std::thread(lamfuncInsert, std::ref(demoData), key, i, system_clock::from_time_t(timeT)); in HWTEST_F()
300 checkThread[i] = std::thread(lamfuncCheck, std::ref(demoData), key, system_clock::from_time_t(timeT)); in HWTEST_F()
344 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in HWTEST_F()
345 timeT += 2; in HWTEST_F()
350 key + std::to_string(i), i, system_clock::from_time_t(timeT)); in HWTEST_F()
[all...]
H A Dutils_safe_block_queue_tracking.cpp216 std::time_t timeT = system_clock::to_time_t(system_clock::now()); in GetTimeAddTwoSeconds()
218 timeT += twoSec; in GetTimeAddTwoSeconds()
219 return timeT; in GetTimeAddTwoSeconds()
236 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
241 threads[i] = std::thread(PutHandleThreadDataTime, std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
316 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
323 threads[i] = std::thread(PutHandleThreadDataTime, std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
375 std::time_t timeT = GetTimeAddTwoSeconds(); in HWTEST_F()
381 std::ref(demoDatas[i]), i, system_clock::from_time_t(timeT)); in HWTEST_F()
443 std::time_t timeT in HWTEST_F()
519 std::time_t timeT = GetTimeAddTwoSeconds(); HWTEST_F() local
582 std::time_t timeT = GetTimeAddTwoSeconds(); HWTEST_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/safe_block_queue_benchmark_test/
H A Dsafe_block_queue_benchmark_test.cpp135 auto timeT = std::chrono::high_resolution_clock::now(); in GetTimeOfSleepTwentyMillisecond()
136 timeT += std::chrono::milliseconds(SLEEP_FOR_TWENTY_MILLISECOND); in GetTimeOfSleepTwentyMillisecond()
137 return timeT; in GetTimeOfSleepTwentyMillisecond()
265 auto timeT = GetTimeOfSleepTwentyMillisecond(); in BENCHMARK_F() local
270 std::ref(demoDatas[i]), i, timeT); in BENCHMARK_F()
290 auto timeT = GetTimeOfSleepTwentyMillisecond(); in BENCHMARK_F() local
301 std::ref(demoDatas[i]), i, timeT); in BENCHMARK_F()
343 auto timeT = GetTimeOfSleepTwentyMillisecond(); in BENCHMARK_F() local
348 std::ref(demoDatas[i]), i, timeT); in BENCHMARK_F()
394 auto timeT in BENCHMARK_F() local
443 auto timeT = GetTimeOfSleepTwentyMillisecond(); BENCHMARK_F() local
490 auto timeT = GetTimeOfSleepTwentyMillisecond(); BENCHMARK_F() local
536 auto timeT = GetTimeOfSleepTwentyMillisecond(); BENCHMARK_F() local
585 auto timeT = GetTimeOfSleepTwentyMillisecond(); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/safe_block_queue_tracking_benchmark_test/
H A Dsafe_block_queue_tracking_benchmark_test.cpp152 std::chrono::time_point<std::chrono::high_resolution_clock> timeT)
155 threads[i] = std::thread(function, std::ref(demoDatas[i]), i, timeT);
179 auto timeT = std::chrono::high_resolution_clock::now(); in GetTimeOfSleepHundredMillisecond()
180 timeT += std::chrono::milliseconds(SLEEP_FOR_HUNDRED_MILLISECOND); in GetTimeOfSleepHundredMillisecond()
181 return timeT; in GetTimeOfSleepHundredMillisecond()
291 auto timeT = GetTimeOfSleepHundredMillisecond(); in BENCHMARK_F() local
294 StartThreads(threads, PutHandleThreadDataTime, demoDatas, timeT); in BENCHMARK_F()
343 auto timeT = GetTimeOfSleepHundredMillisecond(); in BENCHMARK_F() local
351 StartThreads(threads, PutHandleThreadDataTime, demoDatas, timeT); in BENCHMARK_F()
394 auto timeT in BENCHMARK_F() local
458 auto timeT = GetTimeOfSleepHundredMillisecond(); BENCHMARK_F() local
509 auto timeT = GetTimeOfSleepHundredMillisecond(); BENCHMARK_F() local
560 auto timeT = GetTimeOfSleepHundredMillisecond(); BENCHMARK_F() local
612 auto timeT = GetTimeOfSleepHundredMillisecond(); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/safe_map_benchmark_test/
H A Dsafe_map_benchmark_test.cpp432 auto timeT = std::chrono::high_resolution_clock::now(); in BENCHMARK_F() local
433 timeT += std::chrono::milliseconds(SLEEP_FOR_FIFTY_MILLISECOND); in BENCHMARK_F()
436 threads[i] = std::thread(lamfuncIterate, std::ref(demoData), i, timeT); in BENCHMARK_F()
482 auto timeT = std::chrono::high_resolution_clock::now(); in BENCHMARK_F() local
483 timeT += std::chrono::milliseconds(SLEEP_FOR_FIFTY_MILLISECOND); in BENCHMARK_F()
487 threads[i] = std::thread(lamfuncInsert, std::ref(demoData), key, i, timeT); in BENCHMARK_F()
488 checkThread[i] = std::thread(lamfuncCheck, std::ref(demoData), key, timeT); in BENCHMARK_F()
535 auto timeT = std::chrono::high_resolution_clock::now(); in BENCHMARK_F() local
536 timeT += std::chrono::milliseconds(SLEEP_FOR_FIFTY_MILLISECOND); in BENCHMARK_F()
539 threads[i] = std::thread(lamfuncInsert, std::ref(demoData), key + std::to_string(i), i, timeT); in BENCHMARK_F()
584 auto timeT = std::chrono::high_resolution_clock::now(); BENCHMARK_F() local
[all...]

Completed in 6 milliseconds