| | |
| | | int main(void) |
| | | { |
| | | std::chrono::nanoseconds time(0); |
| | | for (int i = 0; i < trials; i++) |
| | | { |
| | | for (int i = 0; i < trials; i++) { |
| | | auto s = std::chrono::high_resolution_clock::now(); |
| | | book::Book b = book::testBook(100, false); |
| | | auto e = std::chrono::high_resolution_clock::now(); |
| | |
| | | // protocol::catchUp(bs); |
| | | // std::cout << bs.size() << std::endl; |
| | | // for (auto& i : bs) { |
| | | // std::cout << i.first << ", " << i.second.expiry.count() << ", " << i.second.bomPrice << std::endl; |
| | | // i.second.printBook(); |
| | | // std::cout << i.first << ", " << i.second.expiry.count() << ", " << |
| | | // i.second.bomPrice << std::endl; i.second.printBook(); |
| | | // } |
| | | } |