Move WaitableEvent

This commit is contained in:
Vinnie Falco
2013-10-04 11:12:16 -07:00
parent ff305e63b6
commit c864e4d3db
10 changed files with 209 additions and 125 deletions

View File

@@ -21,7 +21,7 @@
#define BEAST_CHRONO_CPUMETER_H_INCLUDED
#include "RelativeTime.h"
#include "SCopedTimeInterval.h"
#include "ScopedTimeInterval.h"
#include "../thread/SharedData.h"
#include "../Atomic.h"
@@ -120,7 +120,7 @@ private:
void advance ()
{
usage += history [index];
index = (++index) % numberOfAggregates;
index = (index+1) % numberOfAggregates;
usage -= history [index];
history [index].clear ();
}