performance tests adjusted
This commit is contained in:
parent
11c32bb5f1
commit
9fc61f5a3b
2 changed files with 6 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ Caner Candan <caner.candan@thalesgroup.com>
|
|||
#include "eoParser.h"
|
||||
|
||||
#define USE_SET
|
||||
#undef USE_SET
|
||||
//#undef USE_SET
|
||||
|
||||
#ifdef USE_SET
|
||||
#include <set>
|
||||
|
|
|
|||
|
|
@ -22,8 +22,12 @@ static void test2()
|
|||
eo::log.redirect(*os);
|
||||
for (int i = 0; i < NB; i++)
|
||||
eo::log.addRedirect(*(++os));
|
||||
/*
|
||||
for (int i = 0; i < NB; i++)
|
||||
eo::log.removeRedirect(*(os--));
|
||||
eo::log.removeRedirect(*(os--));*/
|
||||
os = (std::ostream*) 1;
|
||||
for (int i = 0; i < NB; i++)
|
||||
eo::log.removeRedirect(*(++os));
|
||||
}
|
||||
|
||||
int main(int ac, char** av)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue