Skip to content
Snippets Groups Projects

Add emper::getFullVersion()

Merged Florian Schmaus requested to merge flow/emper:emper-version into master
Files
4
@@ -4,13 +4,14 @@
#include <cstdlib> // for exit, EXIT_SUCCESS
#include <iostream> // for operator<<, basic_ostream, endl
#include <ratio> // for ratio
#include <string>
#include "CountingPrivateSemaphore.hpp" // for CPS
#include "Fiber.hpp" // for Fiber
#include "Runtime.hpp" // for Runtime
#include "emper-common.h" // for UNUSED_ARG, workerid_t
#include "emper-version.h" // for EMPER_FULL_VERSION
#include "emper.hpp" // for spawn
#include "Emper.hpp"
#include "Fiber.hpp" // for Fiber
#include "Runtime.hpp" // for Runtime
#include "emper-common.h" // for UNUSED_ARG, workerid_t
#include "emper.hpp" // for spawn
static unsigned int ITERATIONS = 10;
@@ -36,7 +37,7 @@ static void alphaFiber() {
<< " iterations." << std::endl
<< "Single fiber duration: " << SINGLE_FIBER_DURATION.count()
<< ", Multi fiber duration: " << MULTI_FIBER_DURATION.count() << std::endl
<< "EMPER version: " << EMPER_FULL_VERSION << std::endl;
<< "EMPER version: " << emper::getFullVersion() << std::endl;
for (unsigned int i = 0; i < ITERATIONS; ++i) {
letsGetBusy(SINGLE_FIBER_DURATION);
Loading