projects
/
c11concurrency-benchmarks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for running 90s,200s and 400s
[c11concurrency-benchmarks.git]
/
gdax-orderbook-hpp
/
gdax-orderbook.hpp
diff --git
a/gdax-orderbook-hpp/gdax-orderbook.hpp
b/gdax-orderbook-hpp/gdax-orderbook.hpp
index baa0ea0799db025c463a7893f2203f816ba1b28d..c3e59ebc5d9311fd067cb996cefd58978a7c207a 100644
(file)
--- a/
gdax-orderbook-hpp/gdax-orderbook.hpp
+++ b/
gdax-orderbook-hpp/gdax-orderbook.hpp
@@
-16,6
+16,7
@@
#include <websocketpp/client.hpp>
#include <websocketpp/concurrency/none.hpp>
#include <websocketpp/config/asio_client.hpp>
#include <websocketpp/client.hpp>
#include <websocketpp/concurrency/none.hpp>
#include <websocketpp/config/asio_client.hpp>
+#define FILENAME "example90.txt"
/**
* A copy of the GDAX order book for the currency pair product given during
/**
* A copy of the GDAX order book for the currency pair product given during
@@
-175,7
+176,7
@@
private:
{
/*if(!myfile.is_open())
{
/*if(!myfile.is_open())
- myfile.open(
"example.txt"
);
+ myfile.open(
FILENAME
);
if(myfile.is_open())
{
myfile <<msg->get_payload().c_str()<<std::endl;
if(myfile.is_open())
{
myfile <<msg->get_payload().c_str()<<std::endl;
@@
-198,7
+199,7
@@
private:
if(!myfile.is_open())
if(!myfile.is_open())
- myfile.open(
"example.txt"
);
+ myfile.open(
FILENAME
);
std::string line;
while ( std::getline(myfile,line) )
{
std::string line;
while ( std::getline(myfile,line) )
{