mirror of
https://github.com/boostorg/circular_buffer.git
synced 2026-01-29 19:32:16 +00:00
Switch to lightweight_test for unit tests and switch to non-deprecated timer
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/condition.hpp>
|
||||
#include <boost/thread/thread.hpp>
|
||||
#include <boost/timer/timer.hpp>
|
||||
#include <boost/call_traits.hpp>
|
||||
#include <boost/progress.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <deque>
|
||||
#include <list>
|
||||
@@ -229,7 +229,7 @@ template<class Buffer>
|
||||
void fifo_test(Buffer* buffer) {
|
||||
|
||||
// Start of measurement
|
||||
boost::progress_timer progress;
|
||||
boost::timer::auto_cpu_timer progress;
|
||||
|
||||
// Initialize the buffer with some values before launching producer and consumer threads.
|
||||
for (unsigned long i = QUEUE_SIZE / 2L; i > 0; --i) {
|
||||
|
||||
Reference in New Issue
Block a user