dlvhex  2.5.0
testsuite/TestBenchmarking.cpp File Reference

Test multiply nested benchmarking. More...

#include "dlvhex2/Benchmarking.h"
#include "dlvhex2/Logger.h"
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <time.h>
Include dependency graph for TestBenchmarking.cpp:

Go to the source code of this file.

Defines

#define BOOST_TEST_MODULE   "TestBenchmarking"

Functions

void millisleep (unsigned ms)
 BOOST_AUTO_TEST_CASE (nestingAware)

Variables

DLVHEX_NAMESPACE_USE typedef
benchmark::ID 
BID

Detailed Description

Test multiply nested benchmarking.

Author:
Peter Schueller <[email protected]>

Definition in file TestBenchmarking.cpp.


Define Documentation

#define BOOST_TEST_MODULE   "TestBenchmarking"

Definition at line 38 of file TestBenchmarking.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( nestingAware  )

Definition at line 62 of file TestBenchmarking.cpp.

References BID, LOG, millisleep(), and WARNING().

void millisleep ( unsigned  ms)

Definition at line 51 of file TestBenchmarking.cpp.

Referenced by BOOST_AUTO_TEST_CASE().


Variable Documentation

Definition at line 49 of file TestBenchmarking.cpp.

Referenced by BOOST_AUTO_TEST_CASE().